private void Start() { //If the grid is set to 4x4, switch the toggle if (UserdataManager.GetGridSize() == 4) { m_4x4_toggle.isOn = true; } }
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]); }
private void setGameGridSize(int grid_size) { UserdataManager.SetGridSize(grid_size); }