newlon/scripts/resources/PlantResource.cs

19 lines
371 B
C#

using Godot;
namespace Newlon;
[GlobalClass]
public partial class PlantResource : Resource
{
[Export]
public int Cost;
[Export]
public PackedScene Scene;
[Export]
public float ReloadTime;
[Export(PropertyHint.Range,"0,1,0.01")]
public float ReloadProgress;
[Export]
public Texture2D Preview;
[Export] public int Layer = 1;
}