Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
unity click object
Sprottenwels
Programming language:
Whatever
2021-08-02 17:52:32
0
Q:
unity click object
M.Mass
Code:
Whatever
2021-08-02 10:31:38
void OnMouseDown() { // this object was clicked - do something Destroy (this.gameObject); }
0
Tags
unity
object
click
Related
how to open new scene in unity click button
unity player look at mouse
how to make an onClick in the inspector unity
how to code button click unity
how to make an object point to mouse unity
New to Communities?
Join the community