docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method OnPreviewGUI

    OnPreviewGUI(Rect, GUIStyle)

    Call back for ScriptedImporterEditor

    Declaration
    public override void OnPreviewGUI(Rect r, GUIStyle background)
    Parameters
    Type Name Description
    Rect r

    Rectangle of the preview.

    GUIStyle background

    Style of the background of the preview.

    Overrides
    Editor.OnPreviewGUI(Rect, GUIStyle)
    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)