文档

Unity Engine


User Manual

Script Reference

Unity Engine


onCameraCreated

Invoked when Unity creates the Camera used by the Scene view.
阅读时间1 分钟最后更新于 1 个月前

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.