// Update is called once per frame void Update() { ComboSystem = GameManager.Instance.PlayerActor.GetComponent <Player>().ComboSkillSet; if (ComboSystem.COMBO_GAGE < 1) { //스킬 게이지 충전. SkillGaugeLabel.text = "Charging...."; TimeSkillBtnActivation.enabled = false; SkillGaugeForeground.fillAmount = ComboSystem.COMBO_GAGE; } else if (ComboSystem.COMBO_GAGE >= 1) { //게이지 충전 중지, 타임스킬 버튼 활성화. SkillGaugeLabel.text = "Activated!"; SkillGaugeForeground.fillAmount = 1.0f; TimeSkillBtnActivation.enabled = true; //print("TimeSkill is fully charged."); } }
/// <summary> /// 释放连击技能 /// </summary> /// <param name="combo"></param> void ReleaseComboSkill(ComboSkill combo) { //播放combo动画 print(combo.name); }
private void Awake() { //Actor PlayerActor = ActorManager.Instance.PlayerLoad(); ComboSystem = GameManager.Instance.PLAYER_ACTOR.GetComponent <Player>().ComboSkillSet; }