Exemplo n.º 1
0
 public void ChangeSkillControlMode(GameObject obj, SkillControlMode mode)
 {
     if (obj == null)
     {
         return;
     }
     LogicSystem.NotifyGfxChangeSkillControlMode(obj, mode);
 }
Exemplo n.º 2
0
        public void OnGfxChangeSkillControlMode(int id, SkillControlMode mode)
        {
            CharacterInfo character = WorldSystem.Instance.GetCharacterById(id);

            if (character != null && character.SkillController != null)
            {
                character.SkillController.SetSkillControlMode(mode);
            }
        }
Exemplo n.º 3
0
        public static void NotifyGfxChangeSkillControlMode(GameObject obj, SkillControlMode mode)
        {
            SharedGameObjectInfo info = GfxSystem.Instance.GetSharedGameObjectInfo(obj);

            if (null != info)
            {
                if (null != GfxSystem.Instance.GameLogicNotification)
                {
                    QueueLogicAction(GfxSystem.Instance.GameLogicNotification.OnGfxChangeSkillControlMode, info.m_LogicObjectId, mode);
                }
            }
        }
Exemplo n.º 4
0
 public void SetSkillControlMode(SkillControlMode mode)
 {
     m_ControlMode = mode;
 }