言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

Color.cyan

public static Color cyan;

Description

シアン。RGBA は (0, 1, 1, 1)

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour {
    void Example() {
        transform.renderer.material.color = Color.cyan;
    }
}