本文整理汇总了Python中toontown.suit.Suit.unloadSuits方法的典型用法代码示例。如果您正苦于以下问题:Python Suit.unloadSuits方法的具体用法?Python Suit.unloadSuits怎么用?Python Suit.unloadSuits使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类toontown.suit.Suit
的用法示例。
在下文中一共展示了Suit.unloadSuits方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: unload
# 需要导入模块: from toontown.suit import Suit [as 别名]
# 或者: from toontown.suit.Suit import unloadSuits [as 别名]
def unload(self):
BattlePlace.BattlePlace.unload(self)
self.parentFSM.getStateNamed('cogHQBossBattle').removeChild(self.fsm)
del self.parentFSM
del self.fsm
self.ignoreAll()
for i in xrange(1, 3):
Suit.unloadSuits(i)
示例2: unload
# 需要导入模块: from toontown.suit import Suit [as 别名]
# 或者: from toontown.suit.Suit import unloadSuits [as 别名]
def unload(self):
Place.Place.unload(self)
self.parentFSM.getStateNamed('suitInterior').removeChild(self.fsm)
del self.parentFSM
del self.fsm
self.ignoreAll()
ModelPool.garbageCollect()
TexturePool.garbageCollect()
self.townBattle.unload()
self.townBattle.cleanup()
del self.townBattle
for i in range(1, 3):
Suit.unloadSuits(i)
示例3: unload
# 需要导入模块: from toontown.suit import Suit [as 别名]
# 或者: from toontown.suit.Suit import unloadSuits [as 别名]
def unload(self):
self.unloadPlaceGeom()
self.parentFSMState.removeChild(self.fsm)
del self.parentFSMState
del self.fsm
self.townBattle.unload()
self.townBattle.cleanup()
del self.townBattle
del self.battleMusic
Suit.unloadSuits(3)
Suit.unloadSkelDialog()
del self.hood
ModelPool.garbageCollect()
TexturePool.garbageCollect()
示例4: unload
# 需要导入模块: from toontown.suit import Suit [as 别名]
# 或者: from toontown.suit.Suit import unloadSuits [as 别名]
def unload(self):
Suit.unloadSuits(3)
TownLoader.TownLoader.unload(self)
示例5: unload
# 需要导入模块: from toontown.suit import Suit [as 别名]
# 或者: from toontown.suit.Suit import unloadSuits [as 别名]
def unload(self):
TownLoader.TownLoader.unload(self)
Suit.unloadSuits(2)
示例6: unload
# 需要导入模块: from toontown.suit import Suit [as 别名]
# 或者: from toontown.suit.Suit import unloadSuits [as 别名]
def unload(self):
TownLoader.TownLoader.unload(self)
Suit.unloadSuits(3)
del self.windSound
del self.snow
del self.snowRender