I am making a horror game. I want to achieve that when the player is talking after 20 seconds it disappears.
I am not sure if this is possible yet in PlayCanvas since I’ve seen nobody do it before or neither myself.
I will wait to see your answers.
For now, bye.
I don’t know how you want to achieve the effect but you can use setTimeOut function to disable text after 20 seconds. Here is an example : setTimeout(function(){ player.enabled = false; }, 20000);