예제 #1
0
 private void Start()
 {
     //If the grid is set to 4x4, switch the toggle
     if (UserdataManager.GetGridSize() == 4)
     {
         m_4x4_toggle.isOn = true;
     }
 }
예제 #2
0
    private void constructGameBoard()
    {
        int board_size = UserdataManager.GetGridSize();

        m_gameboard.constructGameBoard(board_size);
        m_gameboard.setPlayerMarkDefinitions(
            m_player_mark_sprites[(int)PlayerIndex.Player1],
            m_player_mark_sprites[(int)PlayerIndex.Player2]);
    }
예제 #3
0
 private void setGameGridSize(int grid_size)
 {
     UserdataManager.SetGridSize(grid_size);
 }