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