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; } }