Add TriggerActionFactory and related resources for button and logic sequence components
This commit is contained in:
15
Code/Resources/ButtonComponentResource.cs
Normal file
15
Code/Resources/ButtonComponentResource.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using Godot;
|
||||
using Godot.Collections;
|
||||
|
||||
namespace CryptonymThunder.Code.Resources;
|
||||
|
||||
[GlobalClass]
|
||||
public partial class ButtonComponentResource : Resource
|
||||
{
|
||||
[Export] public string ChannelId { get; set; } = "default_channel";
|
||||
[Export] public bool IsToggle { get; set; } = false;
|
||||
[Export] public bool IsOneTimeUse { get; set; } = false;
|
||||
|
||||
[ExportGroup("Requirements")]
|
||||
[Export] public Array<InteractionRequirementResource> Requirements { get; set; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user