The base class for content types. More...
Public Member Functions | |
virtual void | Dispose () |
Disposes the content. | |
virtual Texture | GetPreviewTexture () |
Gets the preview texture of the content. | |
RectTransform | Load (Content content) |
Loads the content. | |
Public Attributes | |
Content | content |
The content that is being displayed. | |
Protected Member Functions | |
void | CreateContent (RectTransform container) |
Creates the content. | |
RectTransform | LoadContent (Content content) |
Loads the content. | |
Protected Attributes | |
RectTransform | contentRectTransform |
The RectTransform of the content. | |
Properties | |
virtual bool | allowZoom [get] |
Whether the content can be zoomed. | |
string | name [get] |
The name of the content type. | |
MessageSystem | messageSystem [get] |
The message system of the content. | |
The base class for content types.
|
protected |
Creates the content.
container | The RectTransform of the container. |
|
virtual |
Gets the preview texture of the content.
Reimplemented in TextureContent.
RectTransform Load | ( | Content | content | ) |
Loads the content.
content | The content to load. |
|
abstractprotected |
Loads the content.
content | The content to load. |