public void ChangeSkillControlMode(GameObject obj, SkillControlMode mode) { if (obj == null) { return; } LogicSystem.NotifyGfxChangeSkillControlMode(obj, mode); }
public void OnGfxChangeSkillControlMode(int id, SkillControlMode mode) { CharacterInfo character = WorldSystem.Instance.GetCharacterById(id); if (character != null && character.SkillController != null) { character.SkillController.SetSkillControlMode(mode); } }
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); } } }
public void SetSkillControlMode(SkillControlMode mode) { m_ControlMode = mode; }