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