- Home /
Having trouble making Float up and fade out text on Collide.
You are declaring OnTriggerEnter() method inside of the Update() method. You cannot do that.
Hey Caden, how are you doing on this? Has the problem been resolved, or do you still need help?
Answer by Memige · Jun 07, 2013 at 08:52 PM
As robertbu (Don't declare OnTriggerEnter inside of Update), and additionally your Instantiate call is incorrect, if you examine the line you'll notice that you have parenthesis mismatches. You close more than you open, take a second look at Instantiate to make sure you have the correct syntax.
Your answer
Follow this Question
Related Questions
show different textures when trigged entered thrice 2 Answers
percentage health bar 1 Answer
Collider should trigger if another comes in 2 Answers
issue with making a moving object trap c# (SOLVED) 2 Answers
Make an object fade in/fade out 0 Answers