예제 #1
0
 public TransformData()
 {
     _Children     = new List <TransformData>();
     Name          = "Transform";
     Position      = new Vector3Data();
     LocalPosition = new Vector3Data();
     LocalScale    = new Vector3Data();
     Rotation      = new QuaternionData();
     LocalRotation = new QuaternionData();
 }
예제 #2
0
 public RectTransformData(TransformData owner = null)
 {
     this.Owner               = owner;
     this._AnchoredPosition   = new Vector2Data();
     this._AnchoredPosition3D = new Vector3Data();
     this._AnchorMax          = new Vector2Data();
     this._AnchorMin          = new Vector2Data();
     this._OffsetMax          = new Vector2Data();
     this._OffsetMin          = new Vector2Data();
     this._Pivot              = new Vector2Data();
     this._SizeDelta          = new Vector2Data();
 }