예제 #1
0
 private static void OnRefillButtonPressed(MyOxygenGenerator generator)
 {
     if (generator.IsWorking)
     {
         generator.SyncObject.SendRefillRequest();
     }
 }
예제 #2
0
 public MySyncOxygenGenerator(MyOxygenGenerator generator)
     : base(generator)
 {
     m_generator = generator;
 }
 public MySyncOxygenGenerator(MyOxygenGenerator generator)
     : base(generator)
 {
     m_generator = generator;
 }
 private static void OnRefillButtonPressed(MyOxygenGenerator generator)
 {
     if (generator.IsWorking)
     {
         generator.SyncObject.SendRefillRequest();
     }
 }