Skip to content

IClaimsBack

namespace Griff.Runtime;
public interface IClaimsBack

A system that has something under way that Back should cancel first. A script claims it with no system of its own by overriding Behavior’s ClaimsBack.

public abstract bool ClaimsBack { get; }

True while Back (Esc, the gamepad’s B) would cancel something the system has under way (a strategy game’s building being placed, a target being picked), so it does that first: a panel that opens on a key (a pause menu) waits.