ActionVariable

Abstract base class for action variables with reference binding support.

Definition

Namespace: Paragon.Core.ActionSystem Assembly: Paragon.dll

[Serializable]
public abstract class ActionVariable

Properties

Name

Gets the variable name.

public string Name { get; }

Type

Gets the variable value type.

public Type Type { get; }

IsReference

Gets or sets whether this variable references another.

IsFieldVariable

Gets whether this is a field-backed variable.

Methods

GetValue()

Gets the current value (or referenced value if IsReference is true).


SetValue()

Sets the variable value.


UpdateValue()

Applies the referenced value to the backing field.


SetReference()

Binds this variable to another variable.

circle-info

The referenced variable must be of a compatible type.


GetReference()

Gets the referenced variable.

See Also

Last updated

Was this helpful?