기술 자료

Unity Engine

Unity Engine

SetCustomCursor(uint)

Set a custom cursor.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static void SetCustomCursor(uint id)

Parameters

The cursor resource id.

Remarks

This creates new CoreCursor(CoreCursorType::Custom, id) and assigns it to CoreIndependentInputSource.PointerCursor if independent input source is enabled, otherwise it's assigned to CoreWindow.PointerCursor. The resource id for cursor is created inside Win32 .RC file. Note: Passing 0 will reset cursor to the arrow icon.