AUTO-GENERATED FILE — DO NOT EDIT MANUALLY
Source: systems/building/building_settings.gd
Version: 5.0
class_name: BuildingSettings
extends: GBResource
Signals
(none)
Exports
preview_kept_script_types- Add a placeable instance component node automatically to any instance objects placed by the building system.
- This node holds a reference to the placeable that created it to reinstate the scene between level loads.[br][br]
- [b]WARNING:[/b] It does this using file_path to the placeable resource. Files can move around a lot so you may consider implementing an ID database for looking up Placeables instead during gameplay to avoid losing reference the Placeable file.[br][br]
- [code]add_placeable_instance[/code]: [i]bool[/i] - Whether to automatically add PlaceableInstance component to placed objects
- The z index value to set preview instances to in order to control their rendering order.[br][br]
- [code]preview_instance_z_index[/code]: [i]int[/i] - Z-index for preview instance display ordering
add_placeable_instance= true- The z index value to set preview instances to in order to control their rendering order.[br][br]
- [code]preview_instance_z_index[/code]: [i]int[/i] - Z-index for preview instance display ordering
preview_instance_z_index= 100 :preview_root_script
Methods
get_editor_issues -> Arrayget_runtime_issues -> Array