SceneUIManager added
This commit is contained in:
@@ -4,20 +4,17 @@ using UnityEngine;
|
||||
|
||||
public class PlayerController : MonoBehaviour
|
||||
{
|
||||
public Rigidbody rb;
|
||||
public float moveSpeed = 5f;
|
||||
public float jumpforce = 5f;
|
||||
private Vector3 direction;
|
||||
public Rigidbody rb;
|
||||
private float horizontal, vertical;
|
||||
public float isJumping;
|
||||
private float horizontal, vertical, isJumping;
|
||||
private bool isOnGround;
|
||||
|
||||
|
||||
private void Awake() {
|
||||
rb = GetComponent<Rigidbody>();
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
horizontal = Input.GetAxis("Horizontal");
|
||||
|
||||
Reference in New Issue
Block a user