please can someone help make a script that turns the player into a animal when key pressed
This forum is not about us writing your code. I suggest working through some tutorials relevant to what you are trying, and if you have specific questions, come on back and post them here. Also, how to report problems productively in the Unity3D forums:
Here you go:
void OnGUI() {
if (Input.GetKeyDown(Keycode.Space))
GUILayout.Label("Poof, you're a walrus!");
}
2 Likes
if (Input.GetKeyDown( KeyCode.W))
{
isWombat = true;
}
1 Like
Hey Praetor, this is fn
! Do you have any code to change into a Weasel?