CollisionLayerEditor ​
Inherits: VBoxContainer
Collision Layer Configuration Editor Integrated into the Game Settings category
Variables ​
ItemList | layer_list | |
GridContainer | mask_grid | |
Label | layer_info_label | |
Button | save_button | |
Button | load_button | |
Button | reset_button | |
Button | reset_all_button | |
Label | validation_label | |
CollisionLayerConfig | config | |
int | current_selected_layer | -1 |
Dictionary | checkboxes | {} # [layer_id][target_layer_id] = CheckBox |
bool | is_dirty | false |
Dictionary | layer_definitions | { ... } |
Methods ​
bool | has_unsaved_changes() |
void | force_save() |
CollisionLayerConfig | get_config() |
Signals ​
config_saved() ​
config_loaded() ​
Constants ​
StringCONFIG_PATH ="res://src/data/config_data/collision_layer_config.tres"
Variable descriptions ​
ItemList layer_list ​
No description yet.
GridContainer mask_grid ​
No description yet.
Label layer_info_label ​
No description yet.
Button save_button ​
No description yet.
Button load_button ​
No description yet.
Button reset_button ​
No description yet.
Button reset_all_button ​
No description yet.
Label validation_label ​
No description yet.
CollisionLayerConfig config ​
No description yet.
int current_selected_layer = -1 ​
No description yet.
Dictionary checkboxes = # [layer_id][target_layer_id] = CheckBox ​
No description yet.
bool is_dirty = false ​
No description yet.
Dictionary layer_definitions ​
No description yet.
Method descriptions ​
bool has_unsaved_changes() ​
Check if there are unsaved changes
void force_save() ​
Force save current config
CollisionLayerConfig get_config() ​
Get current config