The scene in which the camera will be created.
The scene object on which the camera component will be added.
Optional
unitType: UnitTypeThe unit type for the canvas component (optional, default is Editor.Components.UnitType.Points
).
Optional
renderLayer: LayerIdThe modified scene object with the added camera and canvas components.
Creates an orthographic camera component on a scene object.