protected virtual void Start()
        {
            sceneController   = FreeRoamSceneController.GetFreeRoamSceneController(gameObject.scene);
            textBoxController = TextBoxController.GetTextBoxController(gameObject.scene);

            RefreshGridPositions();
        }
        public virtual void SetUp(NetworkInteractionCanvasController canvasController)
        {
            sceneController = FreeRoamSceneController.GetFreeRoamSceneController(gameObject.scene);

            this.canvasController = canvasController;

            Hide();
        }
 public void CloseMenu()
 {
     Hide();
     quitGamePanelController.Hide();
     FreeRoamSceneController.GetFreeRoamSceneController(gameObject.scene).SetSceneRunningState(true);
 }
Beispiel #4
0
 private void Start()
 {
     sceneController = FreeRoamSceneController.GetFreeRoamSceneController(gameObject.scene);
     gridManager     = GridManager.GetSceneGridManager(gameObject.scene);
     gridPosition    = Vector2Int.RoundToInt(transform.position);
 }
Beispiel #5
0
 protected virtual void RefreshSceneController()
 {
     sceneController = FreeRoamSceneController.GetFreeRoamSceneController(Scene);
 }