Quaternion.ToString 转字符串

function ToString () : string
function ToString (format : string) : string

Description描述

Returns a nicely formatted string of the Quaternion

返回一个格式化好的四元数字符串。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	public void Awake() {
		print(Quaternion.identity);
	}
}
Page last updated: 2011-1-16