using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class LocalPlayer : MonoBehaviour {
|
|
|
|
public CharacterController charControl;
|
|
private void Update()
|
|
{
|
|
if (!charControl.isGrounded)
|
|
{
|
|
charControl.SimpleMove(new Vector3(0.0f, -5.0f * Time.deltaTime, 0.0f));
|
|
}
|
|
}
|
|
}
|