예제 #1
0
 public void OnInputClicked(InputClickedEventData eventData)
 {
     if (enabled)
     {
         confirmer.Confirm();
     }
 }
예제 #2
0
 // Update is called once per frame
 void Update()
 {
     if (enterTime != 0)
     {
         if (enterTime + dwellTime < Time.time)
         {
             confirmer.Confirm();
             enterTime = 0;
         }
     }
 }