public override void OnInspectorGUI() { DrawDefaultInspector(); if (GUILayout.Button("Cycle")) { HueShifter cycler = (HueShifter)target; cycler.Cycle(); } }
void Start() { hueShifter = GetComponent <HueShifter>(); GameManager.instance.SetInitalValues(); }