Blackboard

Type description and basic instructions.

class in RenownedGames.AITree / Inherits from ScriptableObject

ScriptableObject storage of keys which can be used in beahviour tree.

Example

public class Example : MonoBehaviour
{
    [SerializeField]
    private Blackboard blackboard;
    
    private void Awake()
    {
        // Iterate through all keys in blackboard and show them in Unity console.
        foreach(Key key in blackboard.Keys)
        {
            Debug.Log($"Name: {key.name}, Description: {key.GetDescription()}");
        }
    }
}

Getter / Setter

Enumerators

Last updated