Exemple #1
0
        public override void OnStateEnter()
        {
            // set the Container data and the Company Data
            cloud.SetDatas();
            spawnController.InitialSpawnWave();
            runTimeStateController.CurrentState = RunTimeState.PLAYING;

            //important data send on
            customerGenerator.Init(signalBus, cloud, spawnController, monoBehaviour);


            inputController.SetCameraController();
            inputController.showBuildingDataEvent += PlayerViewController.playerViewController.FocusedBuilding;

            customerGenerator.CreateCustomers();

            monoBehaviour.StartCoroutine(customerGenerator.CreateNewCostumer());
            //Debug.Log($"Current State {this}");
        }