Class ContentProvider
Inherit from this class to display arbitrary content in either an editor window or the inspector.
Namespace: Unity.Properties.UI
Syntax
public abstract class ContentProvider
Remarks
The type must have an explicit or implicit default constructor.
Properties
Name | Description |
---|---|
Name | Implement this property to assign the name to display in the title bar of the owning editor window or as the name to display when the content is not ready. |
Methods
Name | Description |
---|---|
GetContent() | Implement this method to return the value representing the content. |
GetStatus() | Override this method if your content may not be immediately available. |
OnContentChanged(ContentProvider.ChangeContext) | Override this method to be notified when the UI detects a change. |