• Manual
  • Scripting API
  • Changelog
  • License
Show / Hide Table of Contents
  • AlchemyBow.Core
    • CoreController<TProjectContext>
    • CoreProjectContext
    • ICoreLoadable
    • ICoreLoadingCallbacksHandler
    • LoadablesProgress
    • OperationHandle
  • AlchemyBow.Core.Editor.Utilities
    • CoreEditorUtility
    • IndentStringBuilder
  • AlchemyBow.Core.Editor.Windows
    • CoreManagementWindow
  • AlchemyBow.Core.Editor.Wizards
    • CoreControllerScriptWizard
    • CoreProjectContextPrefabWizard
    • CoreProjectContextScriptWizard
    • CoreQuickStartWizard
    • ValidationMessageList
    • WizardValidationUtility
    • WizardWindow
  • AlchemyBow.Core.Extras.Behaviours
    • CoreBehaviour
    • CoreBehaviourEnablingStrategy
  • AlchemyBow.Core.Extras.FluentBindings
    • ContainerFluentExtensions
    • FluentBinding
  • AlchemyBow.Core.Extras.Installers
    • ChildrenCompositeMonoInstaller
    • UnityObjectMonoInstaller
  • AlchemyBow.Core.IoC
    • Container
    • DynamicCollectionBindingUtility
    • DynamicInjector<T>
    • IBindOnlyContainer
    • InjectAttribute
    • InjectionTargetAttribute
    • MonoInstaller
  • AlchemyBow.Core.IoC.Elements
    • DynamicInjectorBase
    • InjectionInfo
    • ReflectionFieldsSetter
  • AlchemyBow.Core.States
    • ICondition
    • IState
    • StateGraph
    • StateGraphComposer
  • AlchemyBow.Core.States.Elements
    • StateGraphLink
  • AlchemyBow.Core.States.Prototyping
    • PrototypeCondition
    • PrototypeState

Class PrototypeCondition

Provides a general implementation of the ICondition interface that acts like a trigger button.

Inheritance
object
PrototypeCondition
Implements
ICondition
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

Implements

ICondition
In this article
Back to top Copyright © 2022-2024 AlchemyBow | Generated by DocFX