void Awake() { if (m_instance == null) { m_instance = this; m_instance.Init(); } else { if (this != m_instance) { Destroy(this.gameObject); } } }