Search Unity

What is the difference between editors and inspectors?

Discussion in 'Visual Scripting' started by AnsisMalins, Apr 15, 2022.

  1. AnsisMalins

    AnsisMalins

    Joined:
    Mar 16, 2014
    Posts:
    30
    There's EditorProvider, tied to the EditorAttribute, and InspectorProvider, tied to the InspectorAttribute, but all "editors" are derived from Inspector, and there is no common Editor class. Some types are decorated with EditorAttribute, others with InspectorAttribute, but I fail to spot any meaningful difference. In both cases you retrieve an object that edits some data given a Metadata instance. What's going on?