Пример #1
0
 void OnHoldCancel(HoldEventData eventData)
 {
     StopAllCoroutines();
 }
Пример #2
0
 void OnHoldComplete(HoldEventData eventData)
 {
     StopAllCoroutines();
     //GetComponent<Renderer>().material.color = Color.yellow;
 }
Пример #3
0
 void OnHoldStart(HoldEventData eventData)
 {
     StartCoroutine(Wait2Second());
 }