public TransformData(Transform tran) { V3Pos = new Vec3(tran.position); V3Rot = new Vec3(tran.rotation.eulerAngles); V3Sca = new Vec3(tran.localScale); }
public TransformData(Vec3 pos, Vec3 rot, Vec3 sca) { V3Pos = pos; V3Rot = rot; V3Sca = sca; }