CameraBehavior<T>
Class in Zigurous.CameraSystem
Inherits from CameraModule
Declaration
public abstract class CameraBehavior<T> : CameraModule where T : CameraBehaviorSettings, new()
Description
The base class for all camera behaviors which are enabled and disabled based on the settings of the behavior.
Type Parameters
T | The type of settings for the behavior. |
Properties
settings | The settings for the behavior. |
enabled | Enables or disables the behavior from being updated. |
Methods
OnEnable | A callback invoked when the behavior is enabled. |
OnDisable | A callback invoked when the behavior is disabled. |
StartCoroutine | Starts a coroutine. |
StopCoroutine | Stops a coroutine. |
Inherited
Properties
controller | The camera controller handling the module. |
registered | Whether the module has been registered to a controller. |
id | The unique identifier of the camera module. |