メカニムで定義された全てのヒューマノイド ボーン名の配列
function Start() { var boneName: String[] = HumanTrait.BoneName; for (var i = 0; i < HumanTrait.BoneCount; i++) { Debug.Log(boneName[i]); } }
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void Start() { string[] boneName = HumanTrait.BoneName; int i = 0; while (i < HumanTrait.BoneCount) { Debug.Log(boneName[i]); i++; } } }
import UnityEngine import System.Collections public class ExampleClass(MonoBehaviour): def Start() as void: boneName as (string) = HumanTrait.BoneName i as int = 0 while i < HumanTrait.BoneCount: Debug.Log(boneName[i]) i++