the small
This commit is contained in:
parent
3109bdc44a
commit
aff18ec43c
82 changed files with 6436 additions and 630 deletions
15
addons/ldtk-importer/post-import/entity-template.gd
Normal file
15
addons/ldtk-importer/post-import/entity-template.gd
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
@tool
|
||||
|
||||
# Entity Post-Import Template for LDTK-Importer.
|
||||
|
||||
func post_import(entity_layer: LDTKEntityLayer) -> LDTKEntityLayer:
|
||||
var definition: Dictionary = entity_layer.definition
|
||||
var entities: Array = entity_layer.entities
|
||||
|
||||
print("EntityLayer: ", entity_layer.name, " | Count: ", entities.size())
|
||||
|
||||
for entity in entities:
|
||||
# Perform operations here
|
||||
pass
|
||||
|
||||
return entity_layer
|
||||
Loading…
Add table
Add a link
Reference in a new issue