public void Action() { if (deployer != null) { //相机摇晃 // GameController.Instance.cameraController.CameraShake (0.1f, deployer.skillData.atkRatio); //技能释放 deployer.DeploySkill(); } if (skillSystem != null) { skillSystem.DeploySkill(); } }
//播放攻击动画时,释放技能 public void OnMeleeAttack() { chSkillSys.DeploySkill(); }