private void PropertyChanged(ILightProperty p) { if (modifier_ != null) { modifier_.Property = p; ui_.NeedsReset("light property changed"); } }
public LightModifier(ILightProperty property = null) { if (!Utilities.AtomHasComponent <Light>(Atom)) { Atom = null; } Property = property; }