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