Пример #1
0
        static MscClient()
        {
            DefaultResourceLocator.AddManifestResourceLoader(ManifestResourceLoader.GetResourceLoader(typeof(ClientResourceLocator).Assembly, "theori.Resources"));
            DefaultResourceLocator.AddManifestResourceLoader(ManifestResourceLoader.GetResourceLoader(typeof(MscClient).Assembly, "Museclone.Resources"));

            ScriptService.RegisterType <Highway>();
        }
Пример #2
0
        static ClientSkinService()
        {
            DefaultSkin = new ClientResourceLocator("skins/user-custom", "materials/basic");
            DefaultSkin.AddManifestResourceLoader(ManifestResourceLoader.GetResourceLoader(typeof(ClientResourceLocator).Assembly, "theori.Resources"));
            DefaultSkin.AddManifestResourceLoader(ManifestResourceLoader.GetResourceLoader(typeof(NscClient).Assembly, "NeuroSonic.Resources"));

            CurrentlySelectedSkin = DefaultSkin;
        }
Пример #3
0
 static ScriptProgram()
 {
     scriptLocator = ClientResourceLocator.Default;
     scriptLocator.AddManifestResourceLoader(ManifestResourceLoader.GetResourceLoader(typeof(ScriptProgram).Assembly, "theori.Resources"));
 }