Пример #1
0
    /// <summary>
    /// 释放技能
    /// </summary>

    public void SkillAnim(int skillId)
    {
        curSkillId = skillId;

        if (Ang != null)
        {
            StartCoroutine(Ang.CastAnim(skillId));
        }

        if (Nor1 != null)
        {
            StartCoroutine(Nor1.CastAnim(skillId));
        }

        if (Nor2 != null)
        {
            StartCoroutine(Nor2.CastAnim(skillId));
        }
    }