Show / Hide Table of Contents

Class GradientPicker

Custom MonoBehaviour for the GradientPicker
Inheritance
object
GradientPicker
Namespace: Jotunn.GUI
Assembly: Jotunn.dll
Syntax
public class GradientPicker : MonoBehaviour

Fields

Name Description
done True when the GradientPicker is closed

Methods

Name Description
CCancel() Cancel button call
CDone() Done button call
Cancel() Manually cancel the GradientPicker and recovers the default value
CheckDeleteKey(Slider) Checks if Key can be deleted
ChooseColor() Choose color button call
Create(Gradient, string, GradientEvent, GradientEvent) Creates a new GradiantPicker
CreateNewAlphaKey(float) Checks if new AlphaKey should be created
CreateNewColorKey(float) Checks if new ColorKey should be created
Done() Manually close the GradientPicker and apply the selected color
Select() Changes Selected Key
SetAlpha(float) Accessed by alpha Slider
SetAlpha(string) Accessed by alpha InputField
SetTime(float) Accessed by position Slider
SetTime(string) Accessed by position InputField

Extension Methods

PrefabExtension.FixReferences(object)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾