public void Init(GameObject gameObject) { m_Owner = gameObject; BehaviourAnimation.Init(m_Owner); for (int i = 0; i < BehaviourModes.Count; i++) { m_BehaviourModesKeys.Add(BehaviourModes[i].Key, i); } }
public override void Init(ICEWorldBehaviour _component) { base.Init(_component); BehaviourAnimation.Init(_component); for (int i = 0; i < BehaviourModes.Count; i++) { m_BehaviourModesKeys.Add(BehaviourModes[i].Key, i); } }