docs.unity3d.com
    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 © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023