rokojori_action_library/Runtime/VFX/LineVFX/LinePreset.cs

31 lines
506 B
C#
Raw Normal View History

2026-02-26 14:06:27 +00:00
using Godot;
using System.Collections.Generic;
2026-05-22 12:25:02 +00:00
using Rokojori.Extensions;
2026-02-26 14:06:27 +00:00
namespace Rokojori;
[Tool]
[GlobalClass ]
public partial class LinePreset:Resource
{
[Export]
public LinePointDataGenerator pointGenerator;
[Export]
public LineMeshGenerator meshGenerator;
[Export]
public LineMaterialPreset materialPreset;
public void Update( LineVFX lineVFX, double delta )
{
if ( pointGenerator == null )
{
return;
}
pointGenerator.Update( lineVFX, delta );
}
}