Provides a logical NOT operation on an IActiveState to invert its active state.
This class is useful in scenarios where the activation condition needs to be negated.
The ActiveStateNot class is a component that can be attached to any GameObject in a Unity scene. It requires a reference to another object that implements the IActiveState interface. The active state of this referenced object is then logically inverted, meaning if the referenced state is active, Active will return false, and vice versa. This inversion is useful in cases where the absence of a condition should trigger an interaction or event, without needing to write additional code to handle this logic explicitly.