/// <summary>
 /// Destroys this behaviour, removing it from the managed behaviour system
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="behaviour"></param>
 public static void Destroy <T>(T behaviour) where T : ManagedBehaviour
 {
     ManagedBehaviourSystem.Remove(behaviour);
     Destroy(behaviour);
 }
 private void OnDestroy()
 {
     ManagedBehaviourSystem.Remove(this);
     this.OnManagedDestroy();
 }