LayerProcGen v0.1.0
Layer-based infinite procedural generation
Loading...
Searching...
No Matches
DebugRadioButton

Inherits DebugToggle.

Public Member Functions

override void HandleClick ()
 
void ResetAnimValue ()
 
void SetEnabled (bool isEnabled)
 
override void UpdateAnimValue (float delta)
 

Static Public Member Functions

static DebugFoldout Create (string namePath, bool defaultOn=false)
 
static new DebugRadioButton Create (string namePath, bool defaultOn=false, Action< bool > callback=null)
 
static void UpdateAnimValues (float timeDelta)
 

Public Attributes

List< DebugOptionchildren = new List<DebugOption>()
 
DebugFoldout parent
 

Static Public Attributes

static DebugFoldout root = DebugFoldout.CreateRoot()
 

Protected Member Functions

bool UpdateCheckSelf ()
 

Static Protected Member Functions

static void NotifyUIChanged ()
 
static void UpdateNestedEnabled (DebugFoldout foldout, bool parentEnabled)
 

Properties

float animAlpha [get]
 
float animTarget [get]
 
float animValue [get, protected set]
 
float animValueDuration = 0.25f [get, set]
 
float animValueLinear [get, protected set]
 
bool enabled [get, protected set]
 
bool enabledSelf [get, protected set]
 
bool hidden [get, set]
 
string name [get, protected set]
 
bool visible [get]
 

Events

Action< bool > Callback
 
static Action UIChanged
 

Member Function Documentation

◆ UpdateAnimValue()

override void UpdateAnimValue ( float delta)
virtualinherited

Reimplemented from DebugOption.