Color.ToString 转为字符串
function ToString () : string
function ToString (format : string) : string
Description描述
Returns a nicely formatted string of this color.
返回该颜色一个格式化好的字符串。
C#
JavaScript
using UnityEngine;using System.Collections;public class example : MonoBehaviour {public void Awake() {print(Color.white);}}
print(Color.white);