example-grass/Eat Da Rich/IsState.cs

22 lines
383 B
C#
Raw Permalink Normal View History

2025-07-22 14:08:35 +00:00
using Godot;
using System.Collections;
using System.Collections.Generic;
using Godot.Collections;
namespace Rokojori
{
[GlobalClass,Tool]
public partial class IsState:SceneCondition
{
[Export]
public EatDaRichGame.State state;
public override bool Evaluate()
{
var edr = Unique<EatDaRichGame>.Get();
return edr.state == state;
}
}
}