UnityEngine.Cursor.INTERNAL_CALL_SetCursor C# (CSharp) Method

INTERNAL_CALL_SetCursor() private method

private INTERNAL_CALL_SetCursor ( Texture2D texture, Vector2 &hotspot, CursorMode cursorMode ) : void
texture Texture2D
hotspot Vector2
cursorMode CursorMode
return void
        private static extern void INTERNAL_CALL_SetCursor(Texture2D texture, ref Vector2 hotspot, CursorMode cursorMode);
        private static void SetCursor(Texture2D texture, CursorMode cursorMode)

Usage Example

コード例 #1
0
 public static void SetCursor(Texture2D texture, Vector2 hotspot, CursorMode cursorMode)
 {
     Cursor.INTERNAL_CALL_SetCursor(texture, ref hotspot, cursorMode);
 }