Table of Contents

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
Object
Component
Behaviour
MonoBehaviour
SettingsNavigation
Inherited Members
MonoBehaviour.m_CancellationTokenSource
MonoBehaviour.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.destroyCancellationToken
MonoBehaviour.useGUILayout
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Component.transform
Component.gameObject
Component.tag
Object.m_CachedPtr
Object.OffsetOfInstanceIDInCPlusPlusObject
Object.objectIsNullMessage
Object.cloneDestroyedMessage
Object.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.name
Object.hideFlags

Properties

Page

Gets a value indicating the current page of settings tabs.

[UsedImplicitly]
public int Page { get; }

Property Value

int

PageCount

Gets a value indicating the total number of pages of settings tabs.

[UsedImplicitly]
public int PageCount { get; }

Property Value

int

Methods

Add(SettingsTab)

Add a settings tab to the available tabs.

public void Add(SettingsTab tab)

Parameters

tab SettingsTab

The tab to add.

Create(string)

Create a new settings tab with the specified name.

public SettingsTab Create(string tabName)

Parameters

tabName string

The 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 SettingsTab

The 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 SettingsTab

The 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 SettingsTab

The tab to select.

SelectPage(int)

Select a specific page of settings tabs.

public void SelectPage(int page)

Parameters

page int

The page to select, indexed from zero.