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