Exemple #1
0
 protected override void Update()
 {
     base.Update();
     SetCoolTime();
     if (isPress)
     {
         chInput.On_ButtonDown(mButton_Attack.name);
     }
 }
Exemple #2
0
 private void ButtonAttackOnClick(UISceneWidget eventObj)
 {
     Debug.Log("普通攻击");
     chInput.On_ButtonDown(eventObj.name);
 }