Groups variants of one object into a single catalog slot. Players cycle through the variants with the left/right arrows (shown when there are two or more), for example Basic Tower, Heavy Tower, Rapid Tower. Each variant keeps its own placement rules. Add sequences to SceneEntrySelectionUI.sequences or put them in its SceneEntrySelectionUI.sequences_folder. var tower_sequence := SceneEntrySequence.new() tower_sequence.display_name = "Defense Towers" tower_sequence.scene_entries = [basic_tower, heavy_tower, rapid_tower]
Source: addons/grid_placement/scene_entries/scene_entry_sequence.gd
Syntax
class SceneEntrySequence extends PlacementResourceMembers
| Name | Kind | Summary |
|---|---|---|
display_name | Property | Name of the sequence as a whole. |
scene_entries | Property | The variants, in the order players cycle through them. |
icon | Property | Optional icon for the sequence as a whole. |
count | Method | |
get_variant | Method | |
variant_display_name | Method | |
get_editor_issues | Method | |
get_runtime_issues | Method |