Drag[en]gine Script Module DragonScript 1.32.1
Loading...
Searching...
No Matches
Dragengine.Scenery.ECBehaviorInteraction.Interaction Interface Reference

Interaction. More...

Public Member Functions

bool interact (Instance instance, Array parameters, BehaviorElement source)
 Interact with behavior.
 

Detailed Description

Interaction.

Member Function Documentation

◆ interact()

bool Dragengine.Scenery.ECBehaviorInteraction.Interaction.interact ( Instance  instance,
Array  parameters,
BehaviorElement  source 
)

Interact with behavior.

This can either change or query the state of a behavior. The return value indicates if the interaction is supported and the change succeeded or the queried state applies.

Parameters
parametersOptional parameters.
Returns
true if interaction is successful. If interaction is a query successfull means the query evaluates to true.

The documentation for this interface was generated from the following file: