PoweredAttribute
namespace Griff.Scenes;
public sealed class PoweredAttribute : AttributeMarks a component’s true-or-false property as what a Switch (or a wire into Power) turns on and off, e.g. a mover’s Running or a particle emitter’s Emitting. With Inverted, on sets it false: a door’s Locked. An entity with none of these appears and disappears instead. A script component’s property counts too.
Properties
Section titled “Properties”Inverted
Section titled “Inverted”public bool Inverted { get; init; }Powered on sets it false, and off true: a door is unlocked while it’s on.