/// <summary> /// 初始化技能 /// </summary> /// <param name="data"></param> private void InitSkill(SkillData data) { data.skillPrefab = ResourceManager.Load <GameObject> (data.prefabName); data.owner = gameObject; }
public void Execute(SkillDeployer deployer) { data = deployer.SkillData; deployer.StartCoroutine(RepeatDamage(deployer)); }