Class PrototypeCondition
Provides a general implementation of the ICondition interface that acts like a trigger button.
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 |
|---|---|
| bool | The value of the condition. |
SetActive(bool)
Sets the value of the condition to false.
Declaration
public void SetActive(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | 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 |
|---|---|
| Action |