Color.operator /

public static Color operator /(Color a, float b);

Description

Divides color a by the float b. Each color component is scaled separately.

using UnityEngine;

public class Example : MonoBehaviour { void Start() { Color grayColor = Color.white / 2; } }

Did you find this page useful? Please give it a rating: