removeCallback() public method

public removeCallback ( Action cb ) : void
cb Action
return void
Beispiel #1
0
 public void disableModule()
 {
     moduleIsEnabled = false;
     energyFlow      = 0;
     Events["extendEvent"].active    = false;
     Events["retractEvent"].active   = false;
     Fields["guiStatus"].guiActive   = false;
     Actions["toggleAction"].active  = false;
     Actions["extendAction"].active  = false;
     Actions["retractAction"].active = false;
     sunTransform       = null;
     windBreakTransform = null;
     pivotData          = null;
     suncatcherData     = null;
     if (animationController != null)
     {
         animationController.removeCallback(onAnimationStatusChanged);
     }
     animationController = null;
 }