예제 #1
0
    void initAbility(Ability ability)
    {
        if (ability == null) return;

        Debug.Log("init abilities for" + gameObject.name);
        ability.setCaster(gameObject);
        ability.registerEffects();
    }