本文整理汇总了Python中toontown.toon.Toon.loadMinigameAnims方法的典型用法代码示例。如果您正苦于以下问题:Python Toon.loadMinigameAnims方法的具体用法?Python Toon.loadMinigameAnims怎么用?Python Toon.loadMinigameAnims使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类toontown.toon.Toon
的用法示例。
在下文中一共展示了Toon.loadMinigameAnims方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: load
# 需要导入模块: from toontown.toon import Toon [as 别名]
# 或者: from toontown.toon.Toon import loadMinigameAnims [as 别名]
def load(self):
Toon.loadMinigameAnims()
self.defaultSignModel = loader.loadModel("phase_13/models/parties/eventSign")
self.activityIconsModel = loader.loadModel("phase_4/models/parties/eventSignIcons")
model = loader.loadModel("phase_4/models/parties/partyStickerbook")
self.partyHat = model.find("**/Stickerbook_PartyIcon")
self.partyHat.setPos(0.0, 0.1, 2.5)
self.partyHat.setHpr(0.0, 0.0, -50.0)
self.partyHat.setScale(4.0)
self.partyHat.setBillboardAxis()
self.partyHat.reparentTo(hidden)
model.removeNode()
self.defaultLeverModel = loader.loadModel("phase_13/models/parties/partyLeverBase")
self.defaultStickModel = loader.loadModel("phase_13/models/parties/partyLeverStick")
示例2: load
# 需要导入模块: from toontown.toon import Toon [as 别名]
# 或者: from toontown.toon.Toon import loadMinigameAnims [as 别名]
def load(self):
self.notify.debug("BASE: load")
Toon.loadMinigameAnims()
示例3: load
# 需要导入模块: from toontown.toon import Toon [as 别名]
# 或者: from toontown.toon.Toon import loadMinigameAnims [as 别名]
def load(self):
Toon.loadMinigameAnims()
self.defaultSignModel = loader.loadModel('phase_13/models/parties/eventSign')
self.activityIconsModel = loader.loadModel('phase_4/models/parties/eventSignIcons')
self.defaultLeverModel = loader.loadModel('phase_13/models/parties/partyLeverBase')
self.defaultStickModel = loader.loadModel('phase_13/models/parties/partyLeverStick')