Exemplo n.º 1
0
 private void Awake()
 {
     Instance = this;
     sprite   = GetComponent <SpriteRenderer>();
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     cursor = GetComponent <UI_Cursor>();
     owner  = GameObject.Find(PLAYER).GetComponent <Playerbase>();
 }