def disable(self):
        self.cleanupTimer()
        for ival in self.toonHitTracks.values():
            ival.finish()

        self.toonHitTracks = {}
        DistributedNodePathEntity.disable(self)
        taskMgr.remove(self.detectName)
        self.ignoreAll()
예제 #2
0
 def disable(self):
     DistributedNodePathEntity.disable(self)
     self.unloadGui()
     self.cleanupTimer()
     self.ignoreAll()