| 175 | #if USE_EDITOR |
| 176 | |
| 177 | void ParticleSystem::GetReferences(Array<Guid>& assets, Array<String>& files) const |
| 178 | { |
| 179 | // Base |
| 180 | BinaryAsset::GetReferences(assets, files); |
| 181 | |
| 182 | for (int32 i = 0; i < Emitters.Count(); i++) |
| 183 | assets.Add(Emitters[i].GetID()); |
| 184 | |
| 185 | for (auto i = EmittersParametersOverrides.Begin(); i.IsNotEnd(); ++i) |
| 186 | { |
| 187 | const auto id = (Guid)i->Value; |
| 188 | if (id.IsValid()) |
| 189 | assets.Add(id); |
| 190 | } |
| 191 | } |
| 192 | |
| 193 | bool ParticleSystem::Save(const StringView& path) |
| 194 | { |