Table of Contents

Class OptionItem.ModOptionAdjust

Namespace
Nautilus.Options
Assembly
Nautilus.dll
The base 'adjuster' component to prevent UI elements overlapping
public abstract class OptionItem.ModOptionAdjust : MonoBehaviour
Inheritance
Object
Component
Behaviour
MonoBehaviour
OptionItem.ModOptionAdjust
Inherited Members
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.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.FindObjectOfType<T>()
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.Internal_InstantiateSingle_Injected(Object, ref Vector3, ref Quaternion)
Object.Internal_InstantiateSingleWithParent_Injected(Object, Transform, ref Vector3, ref Quaternion)
Object.name
Object.hideFlags
Extension Methods

Properties

CaptionWidth

The width of the caption for the component
protected float CaptionWidth { get; }

Property Value

float

isMainMenu

Whether we are in the main menu or in game in the options
protected bool isMainMenu { get; }

Property Value

bool

Methods

Awake()

The function called after this UnityEngine.MonoBehaviour is awakened.
public void Awake()

SetCaptionGameObject(string, float)

Creates and adds a caption to this GameObject
protected void SetCaptionGameObject(string gameObjectPath, float minWidth = 0)

Parameters

gameObjectPath string
minWidth float

SetVec2x(Vector2, float)

Sets the X coordinate of a UnityEngine.Vector2.
protected static Vector2 SetVec2x(Vector2 vec, float val)

Parameters

vec Vector2
The UnityEngine.Vector2 to set the value on.
val float
The value to set to the x coordinate.

Returns

Vector2