Using lines cursor
This commit is contained in:
@@ -28,6 +28,7 @@ func _ready():
|
||||
for k in vmode.keys():
|
||||
vmode[k].hide()
|
||||
$building_cursor.hide()
|
||||
$"%line_cursor".hide()
|
||||
$"%building_type".connect("item_selected", self, "change_building_type")
|
||||
|
||||
func editor_event(evname: String, args: Array):
|
||||
@@ -69,6 +70,8 @@ func editor_event(evname: String, args: Array):
|
||||
pass
|
||||
elif evname == "mouse_drag_off":
|
||||
pass
|
||||
elif evname == "line_cursor_motion":
|
||||
pass
|
||||
else:
|
||||
breakpoint
|
||||
func mouse_drag(position):
|
||||
|
||||
Reference in New Issue
Block a user