private void Awake() { if (instance == null) { instance = this; } else if (instance != this) { Destroy(this.gameObject); } DontDestroyOnLoad(this.gameObject); m_EntityMap = new Dictionary <int, PlayerBase>(); }
// Same as ' = ' operator public EntityManager_CH4 IsEqual(EntityManager_CH4 em) { return(em); }