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