示例#1
0
 public void Pool()
 {
     if (!inPool)
     {
         resistance = null;
         Strength   = 1;
         ElectricalPool.PooledResistanceWraps.Add(this);
         inPool = true;
     }
 }
示例#2
0
 public void SetUp(ResistanceWrap _ResistanceWrap)
 {
     resistance = _ResistanceWrap.resistance;
     Strength   = _ResistanceWrap.Strength;
 }