protected void Awake() { try { if (instance == null) { DontDestroyOnLoad(this); instance = this; this.enabled = false; return; } Destroy(this); } catch (Exception ex) { MyLogger.Exception(ex); } }