기술 자료

Unity Engine

Unity Engine

Color32(byte, byte, byte, byte)

Constructs a new Color32 with given r, g, b, a components.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Constructor
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public Color32(byte r, byte g, byte b, byte a)

Parameters

Examples

using UnityEngine;public class Example : MonoBehaviour{ Color32 color = new Color32(64, 128, 192, 255);}