Class PrototypeCondition
Provides a general implementation of the ICondition
interface that acts like a trigger button.
Inheritance
System.Object
PrototypeCondition
Implements
Namespace: AlchemyBow.Core.States.Prototyping
Assembly: AlchemyBow.Core.dll
Syntax
public class PrototypeCondition : ICondition
Methods
CheckCondition()
Determines whether the condition is met.
Declaration
public bool CheckCondition()
Returns
Type | Description |
---|---|
System.Boolean | The value of the condition. |
SetActive(Boolean)
Sets the value of the condition to false
.
Declaration
public void SetActive(bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value | Not used in this implementation. |
Trigger()
Sets the value of the condition to true
and raises the Triggered
event.
Declaration
public void Trigger()
Events
Triggered
An event that is raised when the condition should be checked.
Declaration
public event Action Triggered
Event Type
Type | Description |
---|---|
System.Action |