18 lines
492 B
C#
18 lines
492 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.InputSystem;
|
|
|
|
public class PlayerJumpScript : MonoBehaviour
|
|
{
|
|
[SerializeField] private InputActionProperty _JumpButton;
|
|
[SerializeField] private float _JumpHeight = 0f;
|
|
[SerializeField] private CharacterController _CharacterController;
|
|
[SerializeField] private LayerMask _GroundLayers;
|
|
|
|
private bool IsGrounded()
|
|
{
|
|
//return Physics.CheckSphere(transform)
|
|
}
|
|
}
|