13 lines
291 B
GDScript
13 lines
291 B
GDScript
class_name TestSystemWithoutRelationship
|
|
extends System
|
|
|
|
var entities_found := []
|
|
|
|
|
|
func query():
|
|
return q.without_relationship([Relationship.new(C_TestA.new(), null)])
|
|
|
|
|
|
func process(entities: Array[Entity], components: Array, delta: float) -> void:
|
|
entities_found = entities.duplicate()
|