예제 #1
0
 private void UpdateConverter()
 {
     if (Trigger != null && Action != null)
     {
         _needsConversion = !Trigger.Unit.Equals(Action.Unit);
         _converter = ConfigManager.ModuleManager.GetUnitConverter(Trigger.Unit, Action.Unit);
     }
     else
     {
         _needsConversion = false;
         _converter = null;
     }
 }