OnObjectTransition method is called whenever a transition finishes and this transition had an ID assigned to it. So we will need to act on it:
SELECToperation on the transition ID.
Method OnObjectTransition:Int(transId:Int, obj:ftObject) Select transId
tidParticleconstant. If it is, the particle needs to be removed. Call the object's
Removemethod to do this:
Case g.tidParticle obj.Remove()
tidGameOverconstant. If it is, activate the title layer:
Case g.tidGameOver g.layerTitle.SetActive(True)