1.0.1 • Published 7 years ago
phaser-group-signals v1.0.1
Use
group.onChildAdded.add(function (child, parent){
// {child} was added to {parent}
});
group.onChildRemoved.add(function (child, prevParent){
// {child} was removed from {prevParent}
});
group.onChildKilled.add(function (child, parent){
// {child} was killed
});
group.onChildRevived.add(function (child, parent){
// {child} was revived
});
1.0.1
7 years ago