Versions with this page:
Versions without this page:
将颜色 a 除以浮点 /b/。每个颜色分量分别缩放。
a
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { public Color grayColor = Color.white / 2; }