Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

void ontriggerenter not working

2D for 2D (OnTriggerEnter2D) and 3D for 3D (OnTriggerEnter)
at least one object needs to have rigibody, and collider set to isTrigger

yea and this is for unity game engine only
 
PREVIOUS NEXT
Tagged: #void #ontriggerenter #working
ADD COMMENT
Topic
Name
3+6 =