- Home /
Question by
AirMotionz · Feb 23, 2014 at 05:15 AM ·
c#javascript
Convert this Javascript into C#?
function onTriggerEnter(other : Collider){ if(other.tag == "Player"){ } }
Comment
I thought maybe the moderation queue wasn't showing the whole code you needed converted, so I went ahead and passed this question through. I shouldn't have. Surely this person is just being a smart@$$.
Best Answer
Answer by getyour411 · Feb 23, 2014 at 05:16 AM
change function to void, change onTrig... to OnTrig... change (other: Collider) to (Collider other)
Good deal. If you happen to see this, next to the Thumbs Up/Down icons there's an option to accept the solution, please tick it which will mark this question as closed - thank you.