本文整理匯總了Python中direct.fsm.StateData.StateData.unload方法的典型用法代碼示例。如果您正苦於以下問題:Python StateData.unload方法的具體用法?Python StateData.unload怎麽用?Python StateData.unload使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類direct.fsm.StateData.StateData
的用法示例。
在下文中一共展示了StateData.unload方法的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: unload
# 需要導入模塊: from direct.fsm.StateData import StateData [as 別名]
# 或者: from direct.fsm.StateData.StateData import unload [as 別名]
def unload(self):
self.book_texture.removeNode()
del self.book_texture
self.book_contents.removeNode()
del self.book_contents
loader.unloadSfx(self.book_open)
del self.book_open
loader.unloadSfx(self.book_close)
del self.book_close
loader.unloadSfx(self.book_turn)
del self.book_turn
del self.fsm
del self.parentFSM
del self.entered
StateData.unload(self)
示例2: unload
# 需要導入模塊: from direct.fsm.StateData import StateData [as 別名]
# 或者: from direct.fsm.StateData.StateData import unload [as 別名]
def unload(self):
self.notify.info('unload()')
if hasattr(self, 'loader'):
self.loader.exit()
self.loader.unload()
del self.loader
del self.parentFSM
del self.fsm
self.dnaStore.resetAll()
del self.dnaStore
self.deleteCurrentSky()
self.stopSuitEffect(0)
self.ignoreAll()
ModelPool.garbageCollect()
TexturePool.garbageCollect()
StateData.unload(self)
示例3: unload
# 需要導入模塊: from direct.fsm.StateData import StateData [as 別名]
# 或者: from direct.fsm.StateData.StateData import unload [as 別名]
def unload(self):
StateData.unload(self)
self.parentFSMState.removeChild(self.fsm)
del self.parentFSMState
self.geom.removeNode()
del self.geom
del self.fsm
del self.hood
del self.playground
del self.music
del self.interiorMusic
del self.battleMusic
del self.bossBattleMusic
del self.tournamentMusic
self.ignoreAll()
ModelPool.garbageCollect()
TexturePool.garbageCollect()
示例4: unload
# 需要導入模塊: from direct.fsm.StateData import StateData [as 別名]
# 或者: from direct.fsm.StateData.StateData import unload [as 別名]
def unload(self):
self.parentFSMState.removeChild(self.fsm)
del self.parentFSMState
del self.fsm
del self.streetClass
self.landmarkBlocks.removeNode()
del self.landmarkBlocks
self.hood.dnaStore.resetSuitPoints()
self.hood.dnaStore.resetBattleCells()
del self.hood
del self.nodeDict
del self.zoneDict
del self.fadeInDict
del self.fadeOutDict
del self.nodeList
self.geom.removeNode()
del self.geom
del self.music
del self.interiorMusic
ModelPool.garbageCollect()
TexturePool.garbageCollect()
StateData.unload(self)
示例5: unload
# 需要導入模塊: from direct.fsm.StateData import StateData [as 別名]
# 或者: from direct.fsm.StateData.StateData import unload [as 別名]
def unload(self):
self.cleanup()
StateData.unload(self)
示例6: unload
# 需要導入模塊: from direct.fsm.StateData import StateData [as 別名]
# 或者: from direct.fsm.StateData.StateData import unload [as 別名]
def unload(self):
StateData.unload(self)
示例7: unload
# 需要導入模塊: from direct.fsm.StateData import StateData [as 別名]
# 或者: from direct.fsm.StateData.StateData import unload [as 別名]
def unload(self):
del self.book
del self.parentFSM
del self.fsm
StateData.unload(self)
示例8: unload
# 需要導入模塊: from direct.fsm.StateData import StateData [as 別名]
# 或者: from direct.fsm.StateData.StateData import unload [as 別名]
def unload(self):
StateData.unload(self)
del self.walkDoneEvent
self.walkStateData.unload()
del self.walkStateData
del self.loader
示例9: unload
# 需要導入模塊: from direct.fsm.StateData import StateData [as 別名]
# 或者: from direct.fsm.StateData.StateData import unload [as 別名]
def unload(self):
StateData.unload(self)
del self.fsm