How to reproduce:
Start new Scene, create obj "item4"
in Console do:
| Code: |
item4.onStart = function() { item4.Text = "STARTED!"; }
world.started.connect(item4.onStart)
|
Start scene, Text will appear.
Remove item4, load an other scene or start a new scene again.
create obj "item4"
Start scene,
and Text will still appear.
Only closing Physion removes the function-call.
(doing "world.started.disconnect(item4.onStart)"
before closing the begin-scene will remove the call)
P.S: Imho it would be best if the onStart/onStop could be set in the properties too.