protected void AddAtomWidgets(IModifier m) { modifier_ = m as AtomModifier; if (modifier_ == null) { return; } if (modifier_.Atom == null) { atom_.Value = ""; } else { atom_.Value = modifier_.Atom.name; } widgets_.AddToUI(atom_); }
protected void CopyTo(AtomModifier m, int cloneFlags) { base.CopyTo(m, cloneFlags); m.atom_ = atom_; }