Awesome, I also needed this info! On Friday, May 18, 2012 2:53:35 PM UTC-4, Winston wrote: > > This is an old thread, but I found it when searching for how to tell when > on_enter() is called from a transition versus from my actual scene > starting. I'll post the answer for the next person. In your on_enter() > method, when "director.scene != self", then you might be in a transition. > > -Winston > >
-- You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To view this discussion on the web visit https://groups.google.com/d/msg/cocos-discuss/-/g1i8ko66Z64J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/cocos-discuss?hl=en.
