Version: 5.5
public float slopeLimit ;

Description

Предел наклона контроллера персонажа в градусах.

using UnityEngine;
using System.Collections;

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