You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
434 B
C#
23 lines
434 B
C#
#nullable enable
|
|
|
|
using Godot;
|
|
|
|
namespace GodotInk;
|
|
|
|
public partial class StubInkStory : InkStory
|
|
{
|
|
protected override string RawStory
|
|
{
|
|
get => base.RawStory;
|
|
set
|
|
{
|
|
#if TOOLS
|
|
if (Engine.IsEditorHint()) return;
|
|
#endif
|
|
throw new InvalidInkException(
|
|
"To load this story directly, please import it with 'is_main_file' set to true."
|
|
);
|
|
}
|
|
}
|
|
}
|