示例#1
0
        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_);
        }
示例#2
0
 protected void CopyTo(AtomModifier m, int cloneFlags)
 {
     base.CopyTo(m, cloneFlags);
     m.atom_ = atom_;
 }