public void AddKey(AimBlackboardKey <T> key) { if (!ContainsKeyWithName(key.KeyName)) { m_keys.Add(key); } }
public void AddInstanceSyncedKey <T>(AimBlackboardKey <T> key) { if (!m_instanceSyncedKeys.ContainsKey(typeof(T))) { m_instanceSyncedKeys[typeof(T)] = new AimGenericDictionary <string>(); } m_instanceSyncedKeys[typeof(T)].Add <AimBlackboardKey <T> >(key.KeyName, key); }