void OnEnable() { if (m_ConfigurationManager == null) { m_ConfigurationManager = target as CSConfigurationManager; } }
void OnEnable() { // init instance singleton if (_instance != null && _instance != this) { Destroy(this.gameObject); } else { _instance = this; } }