void OnDestroy()
 {
     if (Application.isPlaying)
     {
         StratusEvents.Disconnect(this.gameObject);
     }
 }
 private void Awake()
 {
     this.hideFlags = HideFlags.HideAndDontSave | HideFlags.DontSaveInEditor;
     if (Application.isPlaying && !StratusEvents.IsConnected(this.gameObject))
     {
         StratusEvents.Connect(this.gameObject);
     }
 }