コード例 #1
0
 public void OnPointerUp(PointerEventData ped)
 {
     if (attackSlider.value >= 0.9)
     {
         attackSlider.value = 1;
         battleUIManager.OnAttackButton();
     }
     else
     {
         attackSlider.value = 0;
     }
 }