RuggeroVisintin/SparkEngineWeb

[FEATURE REQUEST] TriggerEntity - SerializeTarget

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
The target entity can't be serialized when serializing a TriggerEntity with the toJson() method.

Describe the experience you'd like
The target entity should be serialized to persist correctly the state of a scene

Describe alternatives you've considered
Change TriggerEntity's implementation to accept a TargetEntity name instead

Additional context
N/A