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