Replicated the weapon flying tick setup using resources
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
// Copyright © Gamesmiths Guild.
|
||||
|
||||
using Godot;
|
||||
|
||||
namespace Gamesmiths.Forge.Godot.Resources.Statescript;
|
||||
|
||||
/// <summary>
|
||||
/// Resource representing a single node property binding. Stores the resolver resource reference.
|
||||
/// </summary>
|
||||
[Tool]
|
||||
public partial class StatescriptNodeProperty : Resource
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the direction of this property (input or output).
|
||||
/// </summary>
|
||||
[Export]
|
||||
public StatescriptPropertyDirection Direction { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the index of this property in the node's InputProperties or OutputVariables array.
|
||||
/// </summary>
|
||||
[Export]
|
||||
public int PropertyIndex { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the resolver resource for this property.
|
||||
/// </summary>
|
||||
[Export]
|
||||
public StatescriptResolverResource? Resolver { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user