Example #1
0
 void Awake()
 {
     _rt = GetComponent<RectTransform>();
     _initPos = _rt.anchoredPosition;
     _destination = _initPos;
     instance = this;
 }
Example #2
0
 void Awake()
 {
     _rt          = GetComponent <RectTransform>();
     _initPos     = _rt.anchoredPosition;
     _destination = _initPos;
     instance     = this;
 }