void Awake() { if (s_instance == null) { s_instance = this; } else { Destroy(gameObject); Debug.LogWarning( "Deleting "+ gameObject.name +" because it is a duplicate TrimManager." ); } }
void Awake() { if (s_instance == null) { s_instance = this; } else { Destroy(gameObject); Debug.LogWarning("Deleting " + gameObject.name + " because it is a duplicate TrimManager."); } }
protected EntitiesContext() { Manager = new TrimManager(this); Matcher = new MatcherManager(Manager); }