Пример #1
0
 public void AddKey(AimBlackboardKey <T> key)
 {
     if (!ContainsKeyWithName(key.KeyName))
     {
         m_keys.Add(key);
     }
 }
Пример #2
0
        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);
        }