public T Get <T>(BlackboardProperty <T> property) where T : UnityEngine.Object { if (!_dictionary.ContainsKey(property.Name)) { Debug.LogError("Property [" + property + "] is missing."); } return((T)_dictionary[property.Name]); }
void AddMenuItemForBlackboardProperty <T>(GenericMenu menu, string menuPath, BlackboardProperty <T> property) where T : Component { menu.AddItem(new GUIContent(menuPath), true, OnBlackboardPropertySelected, property); }
public void Set <T>(BlackboardProperty <T> property, T value) where T : UnityEngine.Object { _dictionary[property.Name] = value; }