Exemple #1
0
 private void Awake()
 {
     combatAnimationManager = GetComponent <CombatAnimationManager>();
     inputManager           = GetComponent <InputManager>();
     pathfinding            = GetComponent <Pathfinding>();
     turnManager            = GetComponent <TurnManager>();
 }
 private void Start()
 {
     pathfinding            = GetComponent <Pathfinding>();
     turnManager            = GetComponent <TurnManager>();
     combatManager          = GetComponent <CombatManager>();
     combatAnimationManager = GetComponent <CombatAnimationManager>();
     characterMover         = GetComponent <CharacterMover>();
 }
 public void Awake()
 {
     if (!Instance) {
         Instance = this;
     }
     else {
         Destroy(this);
     }
 }
 public void Awake()
 {
     if (!Instance)
     {
         Instance = this;
     }
     else
     {
         Destroy(this);
     }
 }