public override void Read(AssetReader reader) { base.Read(reader); Multiplier = reader.ReadSingle(); if (IsReadInfluenceFilter(reader.Version)) { InfluenceFilter = reader.ReadInt32(); InfluenceMask.Read(reader); m_influenceList = reader.ReadArray <PPtr <ParticleSystemForceField> >(); } }
public override void Read(AssetReader reader) { base.Read(reader); if (IsReadMultiplierCurve(reader.Version)) { MultiplierCurve.Read(reader); } else { float Multiplier = reader.ReadSingle(); MultiplierCurve = new MinMaxCurve(Multiplier); } if (IsReadInfluenceFilter(reader.Version)) { InfluenceFilter = reader.ReadInt32(); InfluenceMask.Read(reader); m_influenceList = reader.ReadAssetArray <PPtr <ParticleSystemForceField> >(); } }