Beispiel #1
0
 public ParticleEvent(ParticleEvent copyFrom, Dummy myDummy, string partName, Vector3 pos)
 {
     MyDummy      = myDummy;
     PartName     = partName;
     EmptyNames   = copyFrom.EmptyNames;
     MuzzleNames  = copyFrom.MuzzleNames;
     ParticleName = copyFrom.ParticleName;
     Color        = copyFrom.Color;
     Offset       = copyFrom.Offset;
     EmptyPos     = pos;
     Scale        = copyFrom.Scale;
     Distance     = copyFrom.Distance;
     MaxPlayTime  = copyFrom.MaxPlayTime;
     StartDelay   = copyFrom.StartDelay;
     LoopDelay    = copyFrom.LoopDelay;
     DoesLoop     = copyFrom.DoesLoop;
     Restart      = copyFrom.Restart;
     ForceStop    = copyFrom.ForceStop;
     _uid         = Guid.NewGuid();
 }
Beispiel #2
0
 protected bool Equals(ParticleEvent other)
 {
     return(Equals(_uid, other._uid));
 }