Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


onCameraCreated

Invoked when Unity creates the Camera used by the Scene view.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Event
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static event Action<SceneView> onCameraCreated

Remarks

Add an event handler to get a call back when the Scene view camera is created. Use this to ensure the Scene view camera has the required sibling components.