Search Results for

    Show / Hide Table of Contents

    Class ModConfig

    Create a public field of ModConfig inside ModBehaviours to create a persistent, user-editable configuration file.

    Only public fields or fields marked with SerializeField will be exposed on the UI.
    All fields will be saved to / loaded from the disk.

    Inheritance
    object
    ModConfig
    ExampleModConfig
    Namespace: Global
    Assembly: Dew.Core.dll
    Syntax
    public abstract class ModConfig

    Methods

    BuildWidgets(Transform, out SafeAction, out SafeAction)

    Declaration
    public virtual void BuildWidgets(Transform parent, out SafeAction onChanged, out SafeAction requestUpdate)
    Parameters
    Type Name Description
    UnityEngine.Transform parent
    SafeAction onChanged
    SafeAction requestUpdate

    Clone()

    Declaration
    public virtual ModConfig Clone()
    Returns
    Type Description
    ModConfig

    CopyTo(ModConfig)

    Declaration
    public virtual void CopyTo(ModConfig other)
    Parameters
    Type Name Description
    ModConfig other
    In This Article
    Back to top Shape of Dreams API Documentation