Version: 2020.3
言語: 日本語
public float stepOffset ;

説明

キャラクターコントローラーのオフセットをメートル単位で表したもの

Note: See the Manual page Character Controller component which describes stepOffset in detail.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public CharacterController controller;

void Example() { controller = GetComponent<CharacterController>(); controller.stepOffset = 2.0F; } }

Did you find this page useful? Please give it a rating: