public override void Init() { base.Init(); if (m_scripts.IsNull()) { m_scripts = UNList <UNMonoBehaviorObject> .New(); } }
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(); } }