Search Unity

OnInteractivePreviewGUI vs OnPreviewGUI

Discussion in 'Immediate Mode GUI (IMGUI)' started by BinaryCats, Feb 28, 2018.

  1. BinaryCats

    BinaryCats

    Joined:
    Feb 8, 2016
    Posts:
    317
    Hi,

    I am wondering what are the differences between theses too Editor functions? The both are able to display a gameobject through the preview pane in the inspector, which can be rotated with the mouse.

    If anybody could provide any more information (documentation is lacking unfortunately) I would be very grateful

    Thanks