if(Input.GetKey(KeyCode.D) && Input.GetKey(KeyCode.W) && !Input.GetKey(KeyCode.A) && !Input.GetKey(KeyCode.S))
{
angle = Quaternion.Euler(0, 45, 0);
}
else if(Input.GetKey(KeyCode.W) && Input.GetKey(KeyCode.A) && !Input.GetKey(KeyCode.D) && !Input.GetKey(KeyCode.S))
{
angle = Quaternion.Euler(0, -45, 0);
}
// и так далее