/// <summary> /// Multiply the src transform to target transform. /// </summary> /// <param name="src"></param> /// <param name="target"></param> public static void ApplyTransformTo(Transform src, Transform target) { Matrix4x4 mat = target.localToWorldMatrix * src.localToWorldMatrix; HEU_HAPIUtility.ApplyMatrixToLocalTransform(ref mat, target); }