class in RenownedGames.AITree / Inherits from Key / Implements: IEquatable<T>, IKeyValue<T>
ScriptableObject storage of generic key in blackboard. Key also called as variable. Keys used in behaviour tree graph to read or write some information of nodes.
Virtual Methods
/// <summary>
/// System object reference value.
/// </summary>
public override object GetValueObject();
/// <summary>
/// System value type of key.
/// </summary>
public override Type GetValueType();
/// <summary>
/// Determining equality of key instances.
/// </summary>
public virtual bool Equals(T other);
Getter / Setter
/// <summary>
/// System object reference value.
/// </summary>
object GetValueObject();
/// <summary>
/// Get key value.
/// </summary>
T GetValue();
/// <summary>
/// System value type of key.
/// </summary>
Type GetValueType();
/// <summary>
/// Determining equality of key instances.
/// </summary>
bool Equals(T other);
/// <summary>
/// Set key value.
/// </summary>
void SetValue(T value);
Events
/// <summary>
/// Called when the key value has been changed.
/// </summary>
event Action ValueChanged;