Class Blackboard
A medium for centralized storage and exchange of graph data
Inheritance
object
Blackboard
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Assembly: cs.temp.dll.dll
Syntax
public class Blackboard : IVariableSource
Properties
SharedVariables
Declaration
public List<SharedVariable> SharedVariables { get; }
Property Value
Methods
CanVariableExposed(SharedVariable)
Declaration
protected virtual bool CanVariableExposed(SharedVariable variable)
Parameters
Returns
Create<TBlackboard>(List<SharedVariable>, bool)
Declaration
public static TBlackboard Create<TBlackboard>(List<SharedVariable> variables = null, bool clone = true) where TBlackboard : Blackboard, new()
Parameters
| Type |
Name |
Description |
| List<><SharedVariable> |
variables |
Variables to add
|
| bool |
clone |
Whether clone source variable
|
Returns
| Type |
Description |
| TBlackboard |
|
Type Parameters
| Name |
Description |
| TBlackboard |
|
GetExposedVariables()
Get all exposed shared variables
Declaration
public SharedVariable[] GetExposedVariables()
Returns
SetBool(string, bool)
Declaration
public SharedVariable<bool> SetBool(string key, bool value)
Parameters
| Type |
Name |
Description |
| string |
key |
|
| bool |
value |
|
Returns
SetFloat(string, float)
Declaration
public SharedVariable<float> SetFloat(string key, float value)
Parameters
| Type |
Name |
Description |
| string |
key |
|
| float |
value |
|
Returns
SetInt(string, int)
Declaration
public SharedVariable<int> SetInt(string key, int value)
Parameters
| Type |
Name |
Description |
| string |
key |
|
| int |
value |
|
Returns
SetObject(string, object)
Declaration
public SharedVariable<object> SetObject(string key, object value)
Parameters
| Type |
Name |
Description |
| string |
key |
|
| object |
value |
|
Returns
SetString(string, string)
Declaration
public SharedVariable<string> SetString(string key, string value)
Parameters
| Type |
Name |
Description |
| string |
key |
|
| string |
value |
|
Returns
SetUObject(string, UObject)
Declaration
public SharedVariable<UObject> SetUObject(string key, UObject value)
Parameters
| Type |
Name |
Description |
| string |
key |
|
| UObject |
value |
|
Returns
SetUObject<T>(string, T)
Declaration
public SharedVariable<UObject> SetUObject<T>(string key, T value) where T : UObject
Parameters
| Type |
Name |
Description |
| string |
key |
|
| T |
value |
|
Returns
Type Parameters
SetVector2(string, Vector2)
Declaration
public SharedVariable<Vector2> SetVector2(string key, Vector2 value)
Parameters
| Type |
Name |
Description |
| string |
key |
|
| Vector2 |
value |
|
Returns
SetVector2Int(string, Vector2Int)
Declaration
public SharedVariable<Vector2Int> SetVector2Int(string key, Vector2Int value)
Parameters
| Type |
Name |
Description |
| string |
key |
|
| Vector2Int |
value |
|
Returns
SetVector3(string, Vector3)
Declaration
public SharedVariable<Vector3> SetVector3(string key, Vector3 value)
Parameters
| Type |
Name |
Description |
| string |
key |
|
| Vector3 |
value |
|
Returns
SetVector3Int(string, Vector3Int)
Declaration
public SharedVariable<Vector3Int> SetVector3Int(string key, Vector3Int value)
Parameters
| Type |
Name |
Description |
| string |
key |
|
| Vector3Int |
value |
|
Returns
Implements