function ToString (format : String) : String
Description
Returns a nicely formatted string of this color.
using UnityEngine;
using System.Collections;
public class example :
MonoBehaviour {
public Color32 w =
Color.white;
void Awake() {
print(w.ToString(
"x"));
}
}
import UnityEngine
import System.Collections
class example(
MonoBehaviour):
public w as Color32 =
Color.white def
Awake():
print(w.ToString('x'))