Loading files
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Leap.Unity.UI {
[CreateAssetMenu(fileName = "NewColorPalette", menuName = "Color Palette", order = 310)]
public class ColorPalette : ScriptableObject {
[SerializeField]
public Color[] colors;
public Color this[int index] {
get {
return colors[index];
}
set {
colors[index] = value;
}
}
}
}
c30bb7b85This file is pinned to the selected release. Download the original to open it in your design tool.