Jak wykryć, gdy gracz porusza się w jedności
if(rigidbody.velocity.magnitude > 0) //Make This a small number
{
// Player is moving
}
Cooperative Cowfish
if(rigidbody.velocity.magnitude > 0) //Make This a small number
{
// Player is moving
}