Divides color a
by the float b
. Each color component is scaled separately.
#pragma strict public class Example extends MonoBehaviour { function Start() { var grayColor: Color = Color.white / 2; } }
using UnityEngine;
public class Example : MonoBehaviour { void Start() { Color grayColor = Color.white / 2; } }