CameraEventRouter Class

Definition

A helper class to provide hooks into the Unity camera exclusive Lifecycle events

[UnityEngine.AddComponentMenu("Scripts/GraphicsTools/CameraEventRouter")]
public class CameraEventRouter : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/GraphicsTools/CameraEventRouter")>]
type CameraEventRouter = class
    inherit MonoBehaviour
Public Class CameraEventRouter
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
CameraEventRouter
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

CameraEventRouter()

Events

OnCameraPreRender

A callback to act upon MonoBehaviour.OnPreRender() without a script needing to exist on a Camera component

Applies to