GBActions
AUTO-GENERATED FILE – DO NOT EDIT MANUALLY
Input action name definitions for plugin systems and UI.
Source File: addons/grid_building/resources/actions/gb_actions.gd
Extends: GBResource
Exported Properties
Property:
off_mode: StringName = &"off_mode"- Action to exit build mode.Property:
info_mode : StringName = &"info_mode"- Action for entering info mode.Property:
build_mode : StringName = &"build_mode"- Action for entering build mode.Property:
moving_mode : StringName = &"moving_mode"- Action for entering move mode.Property:
demolish_mode : StringName = &"demolish_mode"- Action to enter demolish mode.Property:
confirm_build : StringName = &"confirm"- Confirm a build.Property:
confirm_manipulation: StringName = &"confirm"Action for confirming an action to be taken within manipulation mode. Grid building plugin. What the confirmation does is context sensitive whether building with a preview instance, moving an existing object, or demolishing an object already within the scene.
Property:
rotate_right: StringName = &"rotate_right":- The preview instance to the right when triggered.Property:
rotate_left: StringName = &"rotate_left":- Names of actions that the building system will rotate the preview instance to the left when triggered.Property:
flip_horizontal: StringName = &"flip_horizontal" :- Actions that flip the preview instance horizontally during build mode.Property:
flip_vertical: StringName = &"flip_vertical" :- Actions that flip the preview instance vertically during build modeProperty:
positioner_up: StringName = &"positioner_up" :- Movement actions when using keyboard input for positioner movementProperty:
positioner_down: StringName = &"positioner_down" :Property:
positioner_left: StringName = &"positioner_left" :Property:
positioner_right: StringName = &"positioner_right" :Property:
positioner_center: StringName = &"positioner_center" :- Recenter the positioner to the viewport/camera center (snapped to tile)
Public Methods
validate_action
apply_default_input_actions
get_editor_issues
Make sure each action is set in the input map
get_runtime_issues
Private Methods
_get_default_action_events
Flags: private
_create_key_event
Flags: private
_create_mouse_button_event
Flags: private
_sync_action_to_project_settings
Flags: private
Syncs an action’s configuration to the project settings. Ensures the action is persisted to project.godot when running in the editor. param action_name: The name of the action to sync.