コード例 #1
0
        /// <summary>
        /// 初始化技能
        /// </summary>
        /// <param name="data"></param>
        private void InitSkill(SkillData data)
        {
            data.skillPrefab = ResourceManager.Load <GameObject> (data.prefabName);

            data.owner = gameObject;
        }
コード例 #2
0
 public void Execute(SkillDeployer deployer)
 {
     data = deployer.SkillData;
     deployer.StartCoroutine(RepeatDamage(deployer));
 }