mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:35:34 +00:00
17 lines
277 B
C#
17 lines
277 B
C#
using Godot;
|
|
using System;
|
|
|
|
public partial class EmitterActivationStateSprite : Sprite2D
|
|
{
|
|
public void ChangeState(bool enabled)
|
|
{
|
|
if (enabled)
|
|
{
|
|
this.Frame = 1;
|
|
}
|
|
else
|
|
{
|
|
this.Frame = 0;
|
|
}
|
|
}
|
|
}
|