Ejemplo n.º 1
0
		public static void LoadAllRegistries(Assembly assembly)
		{
			if (!LoadedAssemblies.Contains(assembly))
			{
				LoadedAssemblies.Add(assembly);
				var loader = ImplFinder.GetImplementation<RegistryLoader_I>();
				loader.LoadRegistries(assembly);
			}
		}
Ejemplo n.º 2
0
        public static T LoadWeaverAsset <T>(string name) where T : UnityEngine.Object
        {
            if (Impl == null)
            {
                Impl = ImplFinder.GetImplementation <WeaverAssets_I>();
                Impl.Initialize();
            }

            return(Impl.LoadAsset <T>(name));
        }