Hello so basically I'm making this game, with several objects being clickable. I want it so that the script doesn't need to be under every single game object, which function Mouse Clicked needs. I found out about Raycast but I'm not sure how to use it. The Object's Name Is First Plot. Any Help Would be nice. I want it that once the object is clicked it's destroyed using raycast rather then Mouse Clicked. Thanks!
-New to unity
↧