docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Initialize

    Initialize(MaterialEditor, MaterialProperty[])

    Initialize the ui blocks This function is called automatically by MaterialUIBlockList.OnGUI so you only need this when you want to render the UI Blocks in a custom order

    Declaration
    public void Initialize(MaterialEditor materialEditor, MaterialProperty[] properties)
    Parameters
    Type Name Description
    MaterialEditor materialEditor

    Material editor instance.

    MaterialProperty[] properties

    The list of properties in the inspected material(s).

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)