Search Results for

    Show / Hide Table of Contents

    Method Start

    Start()

    Initialization method where all the controls are instanced. You need to override it.

    Declaration
    protected abstract void Start()
    Remarks

    This method is called only once at the beginning of the inspector lifecycle, and it should be used to create all controls that are needed, and set properties like NeedsNonAnimatableUpdate or CustomLocalizationShaderName if a value different than the default one is needed.

    Keep in mind that MaterialProperties inside controls at this stage have not been filled in yet, so any attempt to use them would result in a NullReferenceException

    In This Article
    Back to top Copyright © VRLabs.
    Generated by DocFX