void Update()
{
if (Input.GetKey(KeyCode.W))
{
go stread;
}
if (Input.GetKey(KeyCode.A))
{
turn left;
}
}
转载于:https://www.cnblogs.com/lovesharing/p/6198398.html
void Update()
{
if (Input.GetKey(KeyCode.W))
{
go stread;
}
if (Input.GetKey(KeyCode.A))
{
turn left;
}
}
转载于:https://www.cnblogs.com/lovesharing/p/6198398.html