Beispiel #1
0
    // Start is called before the first frame update
    void Start()
    {
        pauseCanvas.gameObject.SetActive(false);

        gameState = GameState.PLAY;

        growthSystem      = FindObjectOfType <Nastrond.GrowthSystem>();
        ressourcesCounter = FindObjectOfType <Nastrond.ResourceCounterSystem>();
    }
 void Start()
 {
     pathFollowSystem     = FindObjectOfType <PathFollowSystem>();
     dayCycleSystem       = FindObjectOfType <DayCycleSystem>();
     followCursorSystem   = FindObjectOfType <FollowCursorSystem>();
     growthSystem         = FindObjectOfType <GrowthSystem>();
     motionSystem         = FindObjectOfType <MotionSystem>();
     randomMovementSystem = FindObjectOfType <RandomMovementSystem>();
     rotationSystem       = FindObjectOfType <RotationSystem>();
 }