How to use onTriggerEnter and onCollisionEnter in Typescript

by user 224464722878005248

Did I miss something ?

by user 224464722878005248

Oh did you assign the script asset?

OH

by user 224464722878005248

by user 224464722878005248

Like this ?

by user 224464722878005248

Try dragging the gameObject in the field

by user 224464722878005248

No scripts seems to works when I put them on the onEnter
PlayerMove, which is on my model from the beginning and works perfectly doesn’t product function neither in this SpatialTriggeReceiver

by user 224464722878005248

Is it because of my Unity version ?

by user 224464722878005248

Do you get errors on the browser console?

Which unity version are you using? I dont think so tho

2021.3
The samplees of needle was in 2020.3

by user 224464722878005248

No I don’t see any error

by user 224464722878005248

You mean the sample doesn’t work?

No no the sample works

by user 224464722878005248

Wait

by user 224464722878005248

by user 224464722878005248

I see Sphere (Random Color)
But I only put the script in my Player AND in the onEnter
How could I put the Player (ClimbStairs) in the onEnter

by user 224464722878005248

by user 224464722878005248