mUIToggleGroup

Summary

Components for grouping toggle to make it selective

Relation

UnityEngine.UI.ToggleGroup
mUniSm.Core.IMonoCacheBehaviour
mUniSm.UI.IUIForm

Variable

saveToPlayerPrefsOnSetData When this is true saves the value in PlayerPrefs when data is sent to the Set method
ID Keys to save
toggleSavedDataOnStart When saved toggle data matches Toggle on at start

Property

cachedGameObject Reference cache of GameObject
cachedTransform Reference cache of Transform
cachedRectTransform Reference cache of RectTransform
active True if the game object is active It is possible to change the state of the game object by setting bool

Method

Validate( ) Callback method called when editing values in Unity Editor
Set(System.String) Sets the specified data.
Select( ) Select saved toggle data
Init( ) Initializes this instance.
Start( ) Process on Start
OnDestroy( ) Process on Destroy

Reference