本文整理汇总了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