Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The 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:
SELECT operation on the transition ID.Method OnObjectTransition:Int(transId:Int, obj:ftObject) Select transId
tidParticle constant. If it is, the particle needs to be removed. Call the object's Remove method to do this:Case g.tidParticle obj.Remove()
tidGameOver constant. If it is, activate the title layer:Case g.tidGameOver g.layerTitle.SetActive(True)
1.0:g.txtGameOver.SetVisible(False) g.txtGameOver.SetScale(1.0)