using System.Collections; using System.Collections.Generic; using UnityEngine; public class goDown : MonoBehaviour { public CharacterController charController; public float IncrementLevel; Vector3 mDir; // Start is called before the first frame update void Start() { mDir = Vector3.zero; mDir.y = -IncrementLevel; } // Update is called once per frame void Update() { charController.Move(mDir); return; } }