public ParticleRenderer(AssetCabinet file) : this(file, 0, UnityClassID.ParticleRenderer, UnityClassID.ParticleRenderer) { file.ReplaceSubfile(-1, this, null); base.SetDefaults(); UV_Animation = new UVAnimation(); }
public new void LoadFrom(Stream stream) { base.LoadFrom(stream); BinaryReader reader = new BinaryReader(stream); m_CameraVelocityScale = reader.ReadSingle(); m_StretchParticles = reader.ReadInt32(); m_LengthScale = reader.ReadSingle(); m_VelocityScale = reader.ReadSingle(); m_MaxParticleSize = reader.ReadSingle(); UV_Animation = new UVAnimation(stream); }