예제 #1
0
 def toggle( self ):
     if self.toggleSwitch == 0:
         pm.hotBox()
         self.toggleSwitch = 1
     else:
         pm.hotBox(release=True)
         self.toggleSwitch = 0
예제 #2
0
 def toggle(self):
     if self.toggleSwitch == 0:
         pm.hotBox()
         self.toggleSwitch = 1
     else:
         pm.hotBox(release=True)
         self.toggleSwitch = 0
예제 #3
0
         self.toggleSwitch = 0
 def set( onOffBool ):
     if onOffBool==False:
예제 #4
0
 def set(onOffBool):
     if onOffBool == False:
         pm.hotBox(release=True)
     else:
         pm.hotBox()