15 lines
255 B
C#
15 lines
255 B
C#
using Godot;
|
|
using Newlon;
|
|
|
|
[GlobalClass]
|
|
[Tool]
|
|
public partial class PlantReward : RewardResource
|
|
{
|
|
[Export]
|
|
public PlantResource Plant { get; private set; }
|
|
public override PackedScene GetPreview()
|
|
{
|
|
return Plant.Scene;
|
|
}
|
|
|
|
}
|