public float height ;

Descripción

La altura de la cápsula del personaje.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public CharacterController controller; void Example() { controller = GetComponent<CharacterController>(); controller.height = 2.0F; } }