internal override void OnDestroy()
 {
     base.OnDestroy();
     if (effect != null)
     {
         effect.OnDestroy();
         effect = null;
     }
 }
 internal override void OnDestroy()
 {
     base.OnDestroy();
     for (int i = 0; i < effects.Count; i++)
     {
         GOEEntityEffectMove effect = effects[i];
         effect.OnDestroy();
     }
     effects.Clear();
 }