編輯

共用方式為


IMixedRealityFocusProvider.UIRaycastCamera Property

Definition

The Camera the EventSystem uses to raycast against.

public:
 property UnityEngine::Camera ^ UIRaycastCamera { UnityEngine::Camera ^ get(); };
public UnityEngine.Camera UIRaycastCamera { get; }
member this.UIRaycastCamera : UnityEngine.Camera
Public ReadOnly Property UIRaycastCamera As Camera

Property Value

UnityEngine.Camera

Remarks

Every uGUI canvas in your scene should use this camera as its event camera.

Applies to