HKI Core
Classes | Public Attributes | Private Member Functions | Private Attributes | List of all members
HKI.Core.Variables.HKIVarToggle Class Reference

This MonoBehaviour pathes the new boolean value to a function if the value changed. This could be used for enabling and disabling GameObjects by only using the editor and no code (like using a UI Button). More...

Inheritance diagram for HKI.Core.Variables.HKIVarToggle:

Classes

class  HKIVarToggleUE
 

Public Attributes

HKIVarToggleUE OnValueChanged = new HKIVarToggleUE()
 

Private Member Functions

void OnEnable ()
 
void OnDisable ()
 
void ValueChangedFunction ()
 

Private Attributes

Boolean Boolean = null
 

Detailed Description

This MonoBehaviour pathes the new boolean value to a function if the value changed. This could be used for enabling and disabling GameObjects by only using the editor and no code (like using a UI Button).

Note: The name of the could be better!

Definition at line 11 of file HKIVarToggle.cs.

Member Function Documentation

◆ OnDisable()

void HKI.Core.Variables.HKIVarToggle.OnDisable ( )
inlineprivate

Definition at line 35 of file HKIVarToggle.cs.

◆ OnEnable()

void HKI.Core.Variables.HKIVarToggle.OnEnable ( )
inlineprivate

Definition at line 23 of file HKIVarToggle.cs.

◆ ValueChangedFunction()

void HKI.Core.Variables.HKIVarToggle.ValueChangedFunction ( )
inlineprivate

Definition at line 41 of file HKIVarToggle.cs.

Member Data Documentation

◆ Boolean

Boolean HKI.Core.Variables.HKIVarToggle.Boolean = null
private

Definition at line 18 of file HKIVarToggle.cs.

◆ OnValueChanged

HKIVarToggleUE HKI.Core.Variables.HKIVarToggle.OnValueChanged = new HKIVarToggleUE()

Definition at line 20 of file HKIVarToggle.cs.


The documentation for this class was generated from the following file: