private void Awake()
 {
     playerControlsSender = gameObject.GetComponentIfUnassigned(playerControlsSender);
     spellsBehaviour      = gameObject.GetComponentIfUnassigned(spellsBehaviour);
 }
Exemple #2
0
 private void Awake()
 {
     playerControlsSender = GetComponent <PlayerControlsSender>();
     spellsBehaviour      = GetComponent <SpellsRequester>();
 }