Exemplo n.º 1
0
 void Awake()
 {
     movement = GetComponent<Movement>();
     equipment = GetComponent<Equipment>();
     camera = GameObject.Find("/Camera");
 }
Exemplo n.º 2
0
 void Awake()
 {
     spriteRenderer = GetComponent<SpriteRenderer>();
     movement = GetComponent<Movement>();
     equipment = GetComponent<Equipment>();
     keybind = GetComponent<KeyBind>();
 }