Class PaletteGenerator
A monobehaviour that can be used to configure a color palette. It has various methods, each generating a different type of palette based on the configured settings.
[Version(1, 0, 0)]
[ExecuteInEditMode]
public class PaletteGenerator : GLMonoBehaviour
- Inheritance
-
PaletteGenerator
- Inherited Members
-
MonoBehaviour.IsInvoking()MonoBehaviour.StopCoroutine(Coroutine)MonoBehaviour.StopAllCoroutines()MonoBehaviour.runInEditModeComponent.GetComponent<T>()Component.TryGetComponent<T>(out T)Component.GetComponentInChildren<T>()Component.GetComponentsInChildren<T>()Component.GetComponentInParent<T>()Component.GetComponents<T>()Component.gameObjectObject.Instantiate(Object, Vector3, Quaternion, Transform)Object.Instantiate(Object)Object.Instantiate(Object, Transform)Object.Instantiate<T>(T, Vector3, Quaternion, Transform)Object.Instantiate<T>(T, Transform)Object.Destroy(Object)Object.DestroyImmediate(Object)Object.DestroyObject(Object)Object.ToString()Object.hideFlags
- Extension Methods
Fields
- palette
A palette that contains the last set of colors generated.
Methods
- Awake()
Regenerates the palette with the current settings.
- Generate()
Generates colors with the algorithm defined by the algorithm field, and the associtated properties.
Each time this method is called, a different set of colors is created.