Inheritance: SSTUModularFuelTank
Example #1
0
 public void toggleBodyDeployEvent()
 {
     handleAnimEvent(bodyAnimControl);
     foreach (Part p in part.symmetryCounterparts)
     {
         SSTUModularCargoBay mcb = p.GetComponent <SSTUModularCargoBay>();
         mcb.handleAnimEvent(mcb.bodyAnimControl);
     }
 }
Example #2
0
 public void onTailLimitUpdated(BaseField field, object obj)
 {
     if ((float)obj != tailAnimLimit)
     {
         tailAnimControl.setMaxTime(tailAnimLimit);
         foreach (Part p in part.symmetryCounterparts)
         {
             SSTUModularCargoBay mcb = p.GetComponent <SSTUModularCargoBay>();
             mcb.tailAnimLimit = tailAnimLimit;
             mcb.tailAnimControl.setMaxTime(tailAnimLimit);
         }
     }
 }