◆ CopyFrom()

static void CopyFrom ( this Transform  destination,
Transform  sourceTransform,
bool  SrcWorldNotLocal 
)
static
Parameters
destinationthis is the calling transform. It will be changed to reflect the copied values.
sourceTransformthis is the transform the local or global values ill be copied from.
SrcWorldNotLocalIf true the global values of the source transform will be copied. If false, the local transformation values will be copied.