Created
May 7, 2022 03:40
-
-
Save cyberjj999/54029597e030e5a464d9032ccd74906a to your computer and use it in GitHub Desktop.
Becoming A Metaverse Developer Article | Defining Game Variables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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