Esempio n. 1
0
 void OnMouseDown()
 {
     parent.EnableWidget(!isEnable);
     isEnable = !isEnable;
 }
Esempio n. 2
0
 // Responds to taps from user: enables or disables widget depending on current state
 public void OnInputClicked(InputClickedEventData eventData)
 {
     parent.EnableWidget(!isEnable);
     isEnable = !isEnable;
 }