The content type for displaying UI prefabs. More...
Static Public Member Functions | |
static Frame | CreateFrame (GameObject prefab) |
Creates a frame with the prefab. | |
static Frame | CreateFrame (RectTransform prefab) |
Creates a frame with the prefab. | |
Public Attributes | |
RectTransform | prefab |
The prefab of the content. | |
![]() | |
Content | content |
The content that is being displayed. | |
Protected Member Functions | |
override RectTransform | LoadContent (Content content) |
Loads the content. | |
![]() | |
void | CreateContent (RectTransform container) |
Creates the content. | |
RectTransform | LoadContent (Content content) |
Loads the content. | |
Properties | |
override string | name [get] |
The name of the content type. | |
![]() | |
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. | |
Additional Inherited Members | |
![]() | |
virtual void | Dispose () |
Disposes the content. | |
virtual Texture | GetPreviewTexture () |
Gets the preview texture of the content. | |
RectTransform | Load (Content content) |
Loads the content. | |
![]() | |
RectTransform | contentRectTransform |
The RectTransform of the content. | |
The content type for displaying UI prefabs.
|
static |
Creates a frame with the prefab.
prefab | The prefab. |
Exception | The prefab must have a RectTransform component. |
|
static |
Creates a frame with the prefab.
prefab | The prefab. |
|
protected |
Loads the content.
content | The content. |