To make my dialog popup, i always need to press F several times. Anyone know why?
I saw that some people use neverSleep in Rigidbody at the Player, but this doesnt work for me…
i found out the porblem, in my update i had if(f=Input.GetKeyUp(KeyCode.F)), then i changed it to this and it worked
void Update()
{
if(Input.GetKeyUp(KeyCode.F))
{
f = true;
}
}