def load(self): Hood.load(self) skyInner = self.sky.find('**/InnerGroup') skyMiddle = self.sky.find('**/MiddleGroup') skyOuter = self.sky.find('**/OutterSky') if not skyOuter.isEmpty(): skyOuter.setBin('background', 0) if not skyMiddle.isEmpty(): skyMiddle.setDepthWrite(0) skyMiddle.setBin('background', 10) if not skyInner.isEmpty(): skyInner.setDepthWrite(0) skyInner.setBin('background', 20) self.parentFSM.getStateNamed(self.__class__.__name__).addChild(self.fsm)
def load(self): Hood.load(self) self.parentFSM.getStateNamed(self.__class__.__name__).addChild(self.fsm)
def load(self): Hood.load(self) self.parentFSM.getStateNamed(self.__class__.__name__).addChild( self.fsm)