Version: 2017.3

Color.operator +

切换到手册
public static Color operator + (Color a, Color b);

描述

将两个颜色相加。每个分量分别相加。

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public Color result = Color.blue + Color.red; }