Пример #1
0
    // 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>();
    }
Пример #2
0
 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>();
 }