Exemplo n.º 1
0
    private void ReleaseSkill(string key)
    {
        var action = new Proto.Action_ClickSkillIndex {
            MagicKey = key
        };

        (UAppliaction.Singleton.GetGate() as EditorGate).DoAction(action);
    }
Exemplo n.º 2
0
        private void OnRelease(GridTableModel item)
        {
            var action = new Proto.Action_ClickSkillIndex {
                MagicKey = item.MagicData.MagicKey
            };
            var gate = UAppliaction.Singleton.GetGate() as BattleGate;

            if (gate == null)
            {
                return;
            }
            gate.SendAction(action);
        }