編輯

共用方式為


BaseControllerPointer.SetCursor(GameObject) Method

Definition

Set a new cursor for this IMixedRealityPointer

public virtual void SetCursor (UnityEngine.GameObject newCursor = default);
abstract member SetCursor : UnityEngine.GameObject -> unit
override this.SetCursor : UnityEngine.GameObject -> unit
Public Overridable Sub SetCursor (Optional newCursor As GameObject = Nothing)

Parameters

newCursor
UnityEngine.GameObject

The new cursor

Remarks

This GameObject must have a IMixedRealityCursor attached to it.

Applies to