コード例 #1
0
    /// <summary>
    /// Actives the cast skill. after success cast time
    /// </summary>
    /// <returns>The cast skill.</returns>
    /// <param name="skill">Skill.</param>
    IEnumerator activeCastSkill(SkillS skill)
    {
        //Debug.Log ("activeCast");
        yield return(new WaitForSeconds(skill.getCastTime()));

        skillList.activeSkill(skill, this);
    }