Skip to content

Commit

Permalink
fix(main.gd): 删除鼠标指针处理
Browse files Browse the repository at this point in the history
  • Loading branch information
cutekibry committed Feb 15, 2024
1 parent 0e441f9 commit 7faa392
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions main.gd
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
extends Node


const CURSOR_ARROW := preload("res://bg/cursor/cursor_arrow.png")
const CURSOR_POINTING_HAND := preload("res://bg/cursor/cursor_pointing_hand.png")
const CURSOR_DRAG := preload("res://bg/cursor/cursor_drag.png")



func _ready():
Input.set_custom_mouse_cursor(CURSOR_ARROW)
Input.set_custom_mouse_cursor(CURSOR_POINTING_HAND, Input.CURSOR_POINTING_HAND)
Input.set_custom_mouse_cursor(CURSOR_DRAG, Input.CURSOR_DRAG)


func _on_main_menu_enter_level():
Expand Down

0 comments on commit 7faa392

Please sign in to comment.