public ParticleEmanationEffect(SerializationInfo info, StreamingContext context) { _SpawnRate = info.GetInt32("SpawnRate"); _SpawnType = info.GetValueType("SpawnType"); _SpawnCount= info.GetInt32("SpawnCount"); }