// Start is called before the first frame update
    void Awake()
    {
        gameController  = WorldMethods.GetGameController();
        inputController = WorldMethods.GetInputController();
        unitManager     = WorldMethods.GetUnitManager();
        seasonManager   = WorldMethods.GetSeasonManager();

        //Reduce the speed to an appropriate level for the engine
        realUnitSpeed = unitSpeed * gameController.realUnitSpeedFactor;
    }
Beispiel #2
0
 void Start()
 {
     GameController = GameObject.Find("GameController").GetComponent <GameController> ();
     UIController   = GameObject.Find("UIController").GetComponent <UIController>();
     unitManager    = WorldMethods.GetUnitManager();
 }