public void Go_RSkill() { playerScript.deadManager.NoDamage(true); //設定攻擊範圍 allSkillRange.transform.position = mySkillPos; ProjectorManager.Setsize(allSkillRange, 17.5f, 1, true); //clone體執行 if (!photonView.isMine) { playerScript.MatchTimeManager.SetCountDownNoCancel(R_Skill, .9f); } }
//W按下&&偵測 public override void Skill_W_Click() { //消耗不足 if (!playerScript.ConsumeAP(skillW_needAP, false)) { return; } playerScript.canSkill_W = false; playerScript.SkillState = Player.SkillData.skill_W; //顯示範圍 ProjectorManager.Setsize(projector_W[0], 26, 1, true); ProjectorManager.Setsize(projector_W[1], 7.2f, 1, true); }
public void R_Skill() { allSkillRange.transform.position = mySkillPos; ProjectorManager.Setsize(allSkillRange, 2.5f, 1, true); }
public void W_Skill() { //設定攻擊範圍 allSkillRange.transform.position = mySkillPos; ProjectorManager.Setsize(allSkillRange, 7.2f, 1, true); }