Skip to content

Instantly share code, notes, and snippets.

@cyberjj999
Created May 7, 2022 03:40
Show Gist options
  • Save cyberjj999/54029597e030e5a464d9032ccd74906a to your computer and use it in GitHub Desktop.
Save cyberjj999/54029597e030e5a464d9032ccd74906a to your computer and use it in GitHub Desktop.
Becoming A Metaverse Developer Article | Defining Game Variables
// Game object containing the win panel that shows the winning message
public GameObject winPanel;
Rigidbody playerRigidBody;
float horizontalInput = 0f;
float verticalInput = 0f;
float distToGround;
bool toJump = false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment