ドキュメント

Unity Engine

Unity Engine

operator +(Color, Color)

Adds two colors together. Each component is added separately.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Operator
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static Color operator +(Color a, Color b)

Parameters

Returns

Type

Description

Color

Examples

using UnityEngine;public class Example : MonoBehaviour{ void Start() { Color magenta = Color.blue + Color.red; }}