docs.unity.cn
    Show / Hide Table of Contents

    Class SampleSettings

    Simple sample settings showing how to create custom configuration data for your package.

    Inheritance
    Object
    SampleSettings
    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
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, January 5, 2022
    Terms of use