Abstract class for animating content when switching between frames. More...
Public Member Functions | |
override void | Initialize (Viewer viewer) |
Initializes the module with a given Viewer instance. | |
virtual void | Initialize (Viewer viewer, int frameIndex) |
Initializes the module with a given Viewer instance and frame index. | |
Protected Member Functions | |
virtual void | Finish () |
Finalizes the transition process. | |
override void | OnDestroy () |
Handles the destruction of the module. | |
override void | OnViewerInitialized () |
Handles the initialization of the viewer. | |
virtual void | Prepare () |
Prepares the content for the animation process. | |
virtual void | Process () |
Processes the animation of the content. | |
![]() | |
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. | |
Protected Attributes | |
int | targetFrameIndex |
The index of the target frame. | |
![]() | |
ContentContainer | contentContainer |
The ContentContainer instance associated with the module. | |
Properties | |
int | currentFrameIndex [get, protected set] |
The index of the current frame. | |
![]() | |
RectTransform | contentTransform [get] |
Gets the RectTransform of the content container. | |
![]() | |
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. | |
Abstract class for animating content when switching between frames.
|
virtual |
Initializes the module with a given Viewer instance.
viewer | The Viewer instance. |
Reimplemented from ContentModule.
|
virtual |
Initializes the module with a given Viewer instance and frame index.
viewer | The Viewer instance. |
frameIndex | The index of the frame. |
Reimplemented in ContinuousTransition.