Editor Scripting API
    • Retrieves or creates a canvas component for a given camera object.

      Parameters

      • cameraObject: SceneObject

        The camera object to retrieve or create the canvas component for.

      • unitType: UnitType

        The unit type for the canvas component.

      Returns Canvas

      The canvas component associated with the camera object.

    MMNEPVFCICPMFPCPTTAAATR