Newer
Older
DungeonShooting / DungeonShooting_Godot / src / game / effect / Hit.cs
@小李xl 小李xl on 24 Aug 2022 284 bytes 架构调整
using Godot;

public class Hit : AnimatedSprite
{

    public override void _Ready()
    {
        Frame = 0;
        Playing = true;
    }

    /// <summary>
    /// 动画结束, 销毁
    /// </summary>
	private void _on_Hit_animation_finished()
    {
        QueueFree();
    }
}