Example #1
0
 private void AddPlugin(BaseActorPlugin plugin, System.Type type)
 {
     if (!this._pluginMap.ContainsKey(type))
     {
         this._pluginMap.Add(type, plugin);
         this._pluginList.Add(plugin);
         plugin.OnAdded();
     }
 }