Example #1
0
 public virtual void Save()
 {
     position   = transform.position;
     rotation   = transform.rotation;
     localScale = transform.localScale;
     EaSceneManager.Push(scene, this);
 }
Example #2
0
 public virtual void Save()
 {
     rect       = GetComponent <RectTransform> ();
     position   = rect.localPosition;
     rotation   = rect.rotation;
     localScale = rect.localScale;
     EaSceneManager.Push(scene, this);
 }