This example shows you how to use unity attributes in a blackboard.
These files can be found in the /Examples/[example] and /Blackboards/Examples folders.
UnityAttributeBlackboard.cs
usingSystem;usingCrashKonijn.Blackboard.Contracts;usingUnityEngine;namespaceCrashKonijn.BlackboardPro.Blackboards.Examples{publicpartialclassUnityAttributeBlackboard:BlackboardBehaviour { // You can use unity attributes to show extra information in the editor [Header("Basic Info")]privatestring playerName; // The blackboard is rendered in the following order: // 1. Fields // 2. Lists // 3. Computed properties // This means that this header and field be lower in the blackboard [Header("Arrays/Lists")]privateint[] someArray; [Space]privatestring spacedValue; [HideInInspector]privatefloat hiddenValue; // These attributes won't work [Tooltip("The player's health points.")] [Range(0,100)]privateint health; }}