示例#1
0
 def OnActivated(self, **kwargs):
     Camera.OnActivated(self, **kwargs)
     sm.GetService('sceneManager').RegisterForCameraUpdate(self)
示例#2
0
 def OnDeactivated(self):
     Camera.OnActivated(self)
     sm.GetService('sceneManager').UnregisterForCameraUpdate(self)
示例#3
0
 def OnActivated(self, **kwargs):
     Camera.OnActivated(self, **kwargs)
     uthread.new(self.AudioUpdateThread)