Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions addons/block_code/blocks/spawn/cpuparticles2d_finished.tres
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[gd_resource type="Resource" load_steps=2 format=3 uid="uid://c188gpgf4rpns"]

[ext_resource type="Script" path="res://addons/block_code/code_generation/block_definition.gd" id="1_pmpup"]

[resource]
script = ExtResource("1_pmpup")
name = &"cpuparticles2d_finished"
target_node_class = "CPUParticles2D"
description = "Emitted when all active particles have finished processing."
category = "Lifecycle | Spawn"
type = 1
variant_type = 0
display_template = "when particles are finished"
code_template = ""
defaults = {}
signal_name = "finished"
scope = ""
8 changes: 8 additions & 0 deletions addons/block_code/code_generation/blocks_catalog.gd
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ const _SETTINGS_FOR_CLASS_PROPERTY = {
{
"velocity": {"category": "Physics | Velocity"},
},
"CPUParticles2D":
{
"emitting":
{
"category": "Lifecycle | Spawn",
"has_change": false,
},
},
}

static var _catalog: Dictionary
Expand Down