Пример #1
0
        public void Copy(OdourDataObject _odour)
        {
            base.Copy(_odour);

            Type         = _odour.Type;
            Intensity    = _odour.Intensity;
            IntensityMax = _odour.IntensityMax;
            Range        = _odour.Range;
            RangeMax     = _odour.RangeMax;

            UseMarker         = _odour.UseMarker;
            MarkerMinInterval = _odour.MarkerMinInterval;
            MarkerMaxInterval = _odour.MarkerMaxInterval;
            MarkerIntervalMax = _odour.MarkerIntervalMax;
            MarkerPrefab      = _odour.MarkerPrefab;

            UseEffect    = _odour.UseEffect;
            EffectPrefab = _odour.EffectPrefab;
        }
Пример #2
0
 public OdourDataObject(OdourDataObject _data) : base(_data)
 {
     Copy(_data);
 }