Alternatives to OnTriggerEnter and onCollisionEnter
Hello...
I'm trying to find out if there are any alternatives to OnTriggerEnter and onCollisionEnter
i have used them both in the same set of code already and i get a message up saying that they are already defined and are told to rename the member or use different parameter types
I don't want to have to open a new c# script in order to do this so is there an alternative?
Thank you
Explain what you're doing? Why would you want multiples of the same function in the same script anyway? Just divide the code in parts using if-statements that corresponds to your conditions (thats what if-statements are used for).
Your answer
Follow this Question
Related Questions
End Game (Stop spawning) with OnTriggerEnter or OnCollisionEnter? 0 Answers
4 line code not working! 1 Answer
Collisions between two objects are not being detected. 1 Answer
Add a score whenever a riceball hits the floating platform 0 Answers
Triggers Colliding With Triggers Not Working? [Solved] 1 Answer