Version: 2022.1
언어: 한국어
public byte this[int] ;

설명

Access the red (r), green (g), blue (b), and alpha (a) color components using [0], [1], [2], [3] respectively.

using UnityEngine;

public class Example : MonoBehaviour { Color32 color = new Color32(0, 0, 0, 0); void Start() { //The same as color.g = 255 color[1] = 255; } }