Version: 5.3 (switch to 5.4b)
言語English
  • C#
  • JS

スクリプト言語

好きな言語を選択してください。選択した言語でスクリプトコードが表示されます。

Color.Color

マニュアルに切り替える

パラメーター

説明

Color は Vector4 から暗黙的に変換することができます。

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public Color aColor = new Vector4(0.5F, 1, 0.5F, 1); }