Exemple #1
0
 public override void Init()
 {
     base.Init();
     if (m_scripts.IsNull())
     {
         m_scripts = UNList <UNMonoBehaviorObject> .New();
     }
 }
Exemple #2
0
 public override void Init()
 {
     base.Init();
     InitBehaviorsTrans();
     if (m_behaviorsWaitForExecute.IsNull())
     {
         m_behaviorsWaitForExecute = UNList <UNBehavior> .New();
     }
     if (m_cbsBeforeBehaviorChange.IsNull())
     {
         m_cbsBeforeBehaviorChange = UNList <UNBehaviorChangeStateCallBack> .New();
     }
     if (m_cbsAfterBehaviorChange.IsNull())
     {
         m_cbsAfterBehaviorChange = UNList <UNBehaviorChangeStateCallBack> .New();
     }
 }