This class is used as a base for all modules in the SmartGallery.
More...
|
virtual void | OnDestroy () |
| Handles the destruction of the module.
|
|
virtual void | OnFrameChangeComplete () |
| Handles the completion of the frame change.
|
|
virtual void | OnFrameChanged (int index) |
| Handles the FrameChanged event of the viewer's message system.
|
|
virtual void | OnReload () |
| Method called when the list or contents of frames have been changed.
|
|
virtual void | OnViewerInitialized () |
| Handles the Initialized event of the viewer.
|
|
|
MessageSystem | messageSystem [get] |
| Gets the MessageSystem instance from the Viewer.
|
|
virtual Property[] | properties [get] |
| Gets an array of Property objects associated with the module.
|
|
RectTransform | rectTransform [get] |
| Gets the RectTransform component of the module.
|
|
Viewer | viewer [get] |
| Gets the Viewer instance associated with the module.
|
|
This class is used as a base for all modules in the SmartGallery.
◆ Initialize()
virtual void Initialize |
( |
Viewer | viewer | ) |
|
|
virtual |
◆ OnFrameChanged()
virtual void OnFrameChanged |
( |
int | index | ) |
|
|
protectedvirtual |
Handles the FrameChanged event of the viewer's message system.
- Parameters
-
index | The index of the frame that has changed. |