Ejemplo n.º 1
0
    private void Awake()
    {
        gridGenerator.CallGridGenerator(5, 1.8f);

        myGameBoardScript.MoveBoardToCenter();

        myCameraHolder.MoveCameraToCenter();
    }
Ejemplo n.º 2
0
    private void Start()
    {
        myGridGenerator.CallGridGenerator(5, 1.8f);

        myGameBoardScript.MoveBoardToCenter();

        myCameraHolder.MoveCameraToCenter();

        Debug.Log("On Start(), initializing gameboard");

        SetPortalCount(5);
        SetDimensionCount(3);
        turnId        = playerArray.Length;
        currentPlayer = playerArray[0]; //Blue

        GameHandler.Instance.ChangeState(GameState.Inactive);
    }