- Home /
[C#] how do I get the name of the object under the player?
Hello, I am trying to make a quick little prototype. Right now I am trying to have it so when the player intersects with an enemy, it goes into a battlefield. The battlefield is different depending on the area they are in, so I want to be able to get the name of the game object under the player (preferably a terrain). How would I do that?
Comment
Answer by HuskyPanda213 · Nov 13, 2013 at 01:46 AM
Character controller hit, look it up on script ref.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Removing and Adding gameobjects to an array upon collision 1 Answer
Distribute terrain in zones 3 Answers
How to use tag for all players in the Instantiate. 0 Answers