Class SettingsNavigation
- Namespace
- ContentSettings.API.Settings.UI
- Assembly
- RedstoneWizard08.ContentLibrary.dll
A component containing settings tabs for a settings menu.
[UsedImplicitly]
public class SettingsNavigation : MonoBehaviour
- Inheritance
-
ObjectComponentBehaviourMonoBehaviourSettingsNavigation
- Inherited Members
-
MonoBehaviour.m_CancellationTokenSourceMonoBehaviour.RaiseCancellation()MonoBehaviour.IsInvoking()MonoBehaviour.CancelInvoke()MonoBehaviour.StopCoroutine(Coroutine)MonoBehaviour.StopAllCoroutines()MonoBehaviour.Internal_CancelInvokeAll(MonoBehaviour)MonoBehaviour.Internal_IsInvokingAll(MonoBehaviour)MonoBehaviour.IsObjectMonoBehaviour(Object)MonoBehaviour.StopCoroutineManaged(Coroutine)MonoBehaviour.GetScriptClassName()MonoBehaviour.OnCancellationTokenCreated()MonoBehaviour.destroyCancellationTokenMonoBehaviour.useGUILayoutBehaviour.enabledBehaviour.isActiveAndEnabledComponent.GetComponent<T>()Component.TryGetComponent<T>(out T)Component.GetComponentInChildren<T>()Component.GetComponentsInChildren<T>()Component.GetComponentInParent<T>()Component.GetComponentsInParent<T>()Component.GetComponents<T>()Component.transformComponent.gameObjectComponent.tagObject.m_CachedPtrObject.OffsetOfInstanceIDInCPlusPlusObjectObject.objectIsNullMessageObject.cloneDestroyedMessageObject.GetInstanceID()Object.GetHashCode()Object.CompareBaseObjects(Object, Object)Object.EnsureRunningOnMainThread()Object.IsNativeObjectAlive(Object)Object.GetCachedPtr()Object.Instantiate(Object, Vector3, Quaternion)Object.Instantiate(Object, Vector3, Quaternion, Transform)Object.Instantiate(Object)Object.Instantiate(Object, Transform)Object.Instantiate<T>(T)Object.Instantiate<T>(T, Vector3, Quaternion)Object.Instantiate<T>(T, Vector3, Quaternion, Transform)Object.Instantiate<T>(T, Transform)Object.Destroy(Object)Object.DestroyImmediate(Object)Object.DontDestroyOnLoad(Object)Object.DestroyObject(Object)Object.FindObjectsOfType<T>()Object.FindObjectsByType<T>(FindObjectsSortMode)Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)Object.FindObjectOfType<T>()Object.FindFirstObjectByType<T>()Object.FindAnyObjectByType<T>()Object.FindFirstObjectByType<T>(FindObjectsInactive)Object.FindAnyObjectByType<T>(FindObjectsInactive)Object.ToString()Object.GetOffsetOfInstanceIDInCPlusPlusObject()Object.CurrentThreadIsMainThread()Object.Internal_CloneSingle(Object)Object.Internal_InstantiateSingle(Object, Vector3, Quaternion)Object.Internal_InstantiateSingleWithParent(Object, Transform, Vector3, Quaternion)Object.ToString(Object)Object.GetName(Object)Object.IsPersistent(Object)Object.MarkDirty()Object.Internal_InstantiateSingle_Injected(Object, ref Vector3, ref Quaternion)Object.Internal_InstantiateSingleWithParent_Injected(Object, Transform, ref Vector3, ref Quaternion)Object.nameObject.hideFlags
Properties
Page
Gets a value indicating the current page of settings tabs.
[UsedImplicitly]
public int Page { get; }
Property Value
PageCount
Gets a value indicating the total number of pages of settings tabs.
[UsedImplicitly]
public int PageCount { get; }
Property Value
Methods
Add(SettingsTab)
Add a settings tab to the available tabs.
public void Add(SettingsTab tab)
Parameters
tab
SettingsTabThe tab to add.
Create(string)
Create a new settings tab with the specified name.
public SettingsTab Create(string tabName)
Parameters
tabName
stringThe name of the tab. This will be the display name.
Returns
- SettingsTab
The created settings tab.
Deselect(SettingsTab)
De-select a settings tab.
public void Deselect(SettingsTab tab)
Parameters
tab
SettingsTabThe tab to de-select.
NextPage()
Show the next page of settings tabs.
public void NextPage()
OnSelected(SettingsTab)
Called when a tab is selected.
public virtual void OnSelected(SettingsTab tab)
Parameters
tab
SettingsTabThe selected tab.
PreviousPage()
Show the previous page of settings tabs.
public void PreviousPage()
Select(SettingsTab)
Select a settings tab.
public void Select(SettingsTab tab)
Parameters
tab
SettingsTabThe tab to select.
SelectPage(int)
Select a specific page of settings tabs.
public void SelectPage(int page)
Parameters
page
intThe page to select, indexed from zero.