コード例 #1
0
        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);
            }
        }
コード例 #2
0
        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);
            }
        }