Version: 2021.1
言語: 日本語
public WrapMode wrapMode ;

説明

アニメーションのラップモード

デフォルトでは wrapMode は Animation コンポーネントの ラップモードで設定された値に初期化されます。

using UnityEngine;
using System.Collections;

public class ExampleScript : MonoBehaviour { public Animation anim;

void Start() { // Set the wrap mode of the walk animation to loop anim["Walk"].wrapMode = WrapMode.Loop; } }