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