private void Awake() { if (instance == null) { instance = this as CoroutineExecutor; instance.Init(); } else { //DestroyImmediate (this); } }