The TeleportSupport is an EventHandlerBehavior used by a number of derived behaviors which all rely on the a LocomotionTeleport component being present and available.
More...
|
virtual void | OnEnable () |
| OnEnable is virtual so that derived classes can set up references to objects before AddEventHandlers is called, as is required by TeleportSupport derivations. More...
|
|
virtual void | OnDisable () |
|
virtual void | AddEventHandlers () |
| Derived classes that need to use event handlers need to override this method and call the base class to ensure all event handlers are added as intended. More...
|
|
virtual void | RemoveEventHandlers () |
| Derived classes that need to use event handlers need to override this method and call the base class to ensure all event handlers are removed as intended. More...
|
|
The TeleportSupport is an EventHandlerBehavior used by a number of derived behaviors which all rely on the a LocomotionTeleport component being present and available.
◆ AddEventHandlers()
virtual void TeleportSupport.AddEventHandlers |
( |
| ) |
|
|
protectedvirtual |
◆ OnDisable()
virtual void TeleportSupport.OnDisable |
( |
| ) |
|
|
protectedvirtual |
◆ OnEnable()
virtual void TeleportSupport.OnEnable |
( |
| ) |
|
|
protectedvirtual |
OnEnable is virtual so that derived classes can set up references to objects before AddEventHandlers is called, as is required by TeleportSupport derivations.
Reimplemented in TeleportAimHandler.
◆ RemoveEventHandlers()
virtual void TeleportSupport.RemoveEventHandlers |
( |
| ) |
|
|
protectedvirtual |
◆ LocomotionTeleport
The documentation for this class was generated from the following file: