private static void OnRefillButtonPressed(MyOxygenGenerator generator) { if (generator.IsWorking) { generator.SyncObject.SendRefillRequest(); } }
public MySyncOxygenGenerator(MyOxygenGenerator generator) : base(generator) { m_generator = generator; }