feature(subtitles): add frog_subtitles addon
This commit is contained in:
11
addons/frog_subtitles/resources/SubtitleEntry.cs
Normal file
11
addons/frog_subtitles/resources/SubtitleEntry.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using Godot;
|
||||
|
||||
namespace Frog;
|
||||
|
||||
public partial class SubtitleEntry : Resource
|
||||
{
|
||||
[Export] public int Id;
|
||||
[Export] public double StartTime;
|
||||
[Export] public double EndTime;
|
||||
[Export] public string Content;
|
||||
}
|
||||
1
addons/frog_subtitles/resources/SubtitleEntry.cs.uid
Normal file
1
addons/frog_subtitles/resources/SubtitleEntry.cs.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://d4c1aqagv0d26
|
||||
9
addons/frog_subtitles/resources/Subtitles.cs
Normal file
9
addons/frog_subtitles/resources/Subtitles.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using Godot;
|
||||
using Godot.Collections;
|
||||
|
||||
namespace Frog;
|
||||
|
||||
public partial class Subtitles : Resource
|
||||
{
|
||||
[Export] public Array<SubtitleEntry> Entries;
|
||||
}
|
||||
1
addons/frog_subtitles/resources/Subtitles.cs.uid
Normal file
1
addons/frog_subtitles/resources/Subtitles.cs.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bnr4d41k74dvk
|
||||
Reference in New Issue
Block a user