- Home /
New Unity UI with OnTriggerStay.
I'm not very good with the new UI still. I want to make it so when the player is inside of a trigger certain text pops up. I know how to do this with the old UI but I want to use the new one.
For example :
void OnTriggerStay(Collider other)
{
if(other.collider.tag == "Player")
{
// turn sign gui on
}
}
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612044215im_/https://answers.unity.com/themes/thub/images/avi.jpg)