internal void DelComponent(GOEBaseComponent com) { if (mListComponent.Contains(com)) { mListComponent.Remove(com); } }
internal virtual void Start() { for (int i = 0; i < mListComponent.Count; ++i) { GOEBaseComponent comp = mListComponent[i]; comp.Start(); } }
internal virtual void OnDestroy() { for (int i = 0; i < mListComponent.Count; ++i) { GOEBaseComponent comp = mListComponent[i]; comp.OnDestroy(); } ClearList(); }
internal void AddComponent(GOEBaseComponent comp) { comp.Owner = this; mListComponent.Add(comp); }