GameManager.UnRegisterPlayer C# (CSharp) Method

UnRegisterPlayer() public static method

public static UnRegisterPlayer ( string _playerID ) : void
_playerID string
return void
    public static void UnRegisterPlayer(string _playerID)
    {
        players.Remove(_playerID);
    }

Usage Example

Ejemplo n.º 1
0
 void OnDisable()
 {
     if (sceneCamera != null)
     {
         sceneCamera.gameObject.SetActive(true);
     }
     GameManager.UnRegisterPlayer(transform.name);
 }
All Usage Examples Of GameManager::UnRegisterPlayer