mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-22 18:15:27 -04:00
[WIP] Clean old methods used only in GD4 in objects and behaviors (2)
This commit is contained in:
@@ -623,6 +623,17 @@ void ParticleEmitterObject::ExposeResources(
|
||||
SetParticleTexture(texture);
|
||||
}
|
||||
|
||||
void RuntimeParticleEmitterObject::GetPropertyForDebugger(
|
||||
std::size_t propertyNb, gd::String& name, gd::String& value) const {
|
||||
if (!GetParticleSystem() || !GetParticleSystem()->particleSystem) return;
|
||||
|
||||
if (propertyNb == 0) {
|
||||
name = _("Particles number");
|
||||
value =
|
||||
gd::String::From(GetParticleSystem()->particleSystem->getNbParticles());
|
||||
}
|
||||
}
|
||||
|
||||
bool RuntimeParticleEmitterObject::ChangeProperty(std::size_t propertyNb,
|
||||
gd::String newValue) {
|
||||
if (propertyNb == 0) {
|
||||
|
||||
Reference in New Issue
Block a user