Class SampleSettings
Simple sample settings showing how to create custom configuration data for your package.
Namespace: Samples
Syntax
public class SampleSettings : ScriptableObject
Fields
s_RuntimeInstance
Static instance that will hold the runtime asset instance we created in our build process.
Declaration
public static SampleSettings s_RuntimeInstance
Field Value
| Type | Description |
|---|---|
| SampleSettings |
Properties
requiresItem
Whether or not the item is required.
Declaration
public SampleSettings.Requirement requiresItem { get; set; }
Property Value
| Type | Description |
|---|---|
| SampleSettings.Requirement |
runtimeToggle
Where we toggled?
Declaration
public bool runtimeToggle { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |