Example #1
0
 void Awake()
 {
     transform_u3d = GetComponent <Transform>();
     old_position  = position;
     if (aglin)
     {
         this.Position = new Int3(transform_u3d.position);
         this.Angle    = FixMath.VectorToAngle(new Int3(transform_u3d.forward));
         this.scale    = new Int3(transform_u3d.localScale);
     }
 }