Answers for "unity detect click on ui"

C#
2

detect object click unity

void Update () {      }  void OnMouseDown(){         // this object was clicked - do something     Destroy (this.gameObject);  }
Posted by: Guest on December-02-2020

Code answers related to "unity detect click on ui"

C# Answers by Framework

Browse Popular Code Answers by Language