cirnogodot/Scripts/Components/Actors/EmitterActivationStateSprite.cs

17 lines
277 B
C#
Raw Normal View History

2025-03-14 23:04:59 +01:00
using Godot;
using System;
public partial class EmitterActivationStateSprite : Sprite2D
{
public void ChangeState(bool enabled)
{
if (enabled)
{
this.Frame = 1;
}
else
{
this.Frame = 0;
}
}
}