Class OptionBase
The base of an option for the GameplayOptionsSettings. The child classes of this are able to be applied to create custom options that are generated in the menu and are able to be retrieved using GameplaySettings
[GlobalClass]
[ScriptPath("res://Core/Scenes/UI/Menus/OptionsTabs/GameplayTabResources/OptionBase.cs")]
public class OptionBase : Resource, IDisposable
- Inheritance
-
GodotObjectRefCountedResourceOptionBase
- Implements
- Derived
- Inherited Members
-
Resource._GetRid()Resource.GetRid()Resource.GetLocalScene()Resource.SetupLocalToScene()Resource.EmitChanged()Resource.ResourceLocalToSceneResource.ResourcePathResource.ResourceNameResource.ChangedResource.SetupLocalToSceneRequestedRefCounted.InitRef()RefCounted.Reference()RefCounted.Unreference()RefCounted.GetReferenceCount()GodotObject.NotificationPostinitializeGodotObject.NotificationPredeleteGodotObject.NativeInstanceGodotObject.ScriptChangedGodotObject.PropertyListChanged
Fields
InMenuName
The name to diplay in menu (can be a translation id for internaltionalization)
[Export(PropertyHint.None, "")]
public string InMenuName
Field Value
InternalName
The name that serves as the key for this option internally. Must be unique among other OptionBase values, but otherwise it can be literally anything you want.
[Export(PropertyHint.None, "")]
public string InternalName