public static Color GetColor(int index) { if (_instance == null) { _instance = new GUIColors(); } return(_instance.colors[index]); }
public Color this[int index] { get { if (_instance == null) _instance = new GUIColors(); return _instance.colors[index]; } set { if (_instance == null) _instance = new GUIColors(); _instance.colors[index] = value; } }
public Color this[int index] { get { if (_instance == null) { _instance = new GUIColors(); } return(_instance.colors[index]); } set { if (_instance == null) { _instance = new GUIColors(); } _instance.colors[index] = value; } }
public static Color GetColor(int index) { if (_instance == null) _instance = new GUIColors(); return _instance.colors[index]; }