Answers for "unity onclick object"

C#
0

unity onclick object

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

C# Answers by Framework

Browse Popular Code Answers by Language