Esempio n. 1
0
    public void ReleaseSkill(SkillBase skill, GameObject owner, GameObject target)
    {
        GameObject skillGo   = ObjectManager.Instance.InstantiateObject(skill.Path);
        SkillItem  skillItem = skillGo.GetComponent <SkillItem>();

        skillItem.Init(skill, owner, target);
        skillItem.ReleaseSkill();
    }