// Have external be listening for events- depending on the string attached? void Awake() { mv = GetComponent <MovementType>(); hexQueuedMovement = GetComponent <HexQueuedCntrl>(); discreteMovement = GetComponent <DiscreteMovement>(); hexhexControl = GetComponent <HexToHexControl>(); disQueuedMovement = GetComponent <QueuedControl>(); turnControl = GetComponent <TurnBasedControl>(); simulatedControl = GetComponent <SimulatedControl>(); replayControl = GetComponent <ReplayControl>(); }
void Awake() { discreteQueued = GetComponent<QueuedControl>(); continousControl = GetComponent<ContinuousControl>(); hexesControl = GetComponent<HexToHexControl>(); discreteControl = GetComponent<DiscreteMovement>(); hexQueuedControl = GetComponent<HexQueuedCntrl>(); turnControl = GetComponent<TurnBasedControl>(); simulatedControl = GetComponent<SimulatedControl>(); replayControl = GetComponent<ReplayControl>(); }