This commit is contained in:
CortexCore
2023-07-18 16:42:33 +08:00
parent 5f6975ca67
commit 37f46e6d16
25 changed files with 335 additions and 105 deletions

View File

@@ -0,0 +1,15 @@
using Godot;
using System;
namespace BITKit;
public partial class VideoPlayer : VideoStreamPlayer
{
[Export] private bool loop;
public override void _Ready()
{
if (loop)
{
Finished += Play;
}
}
}