Author   09-16-2013, 08:09 PM
#8
ดูจากโค้ดไม่เห็นมีอันใหนที่ปรับ

Playerstate ให้ = 1 เลยนะครับ

จากโค้ด

if (Input.GetButton("Sprint"))
{
PlayerState = 2;
}
}
else
{
PlayerState = 0;
}

ถ้า PlayerState จะเปลี่ยนก็มีแค่ 0,2 นี่ครับ
  
Users browsing this thread: 1 Guest(s)
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.