Beispiel #1
0
        private static void PreLoad()
        {
            Debug.LogInfo("Loading shaders", p_post: Indent);
            {
                Shader.Load("ui_shader", "ui_shader");
                ui_shader = ShaderRegistry.Get("ui_shader");
            }
            Debug.LogInfo("Shaders loaded", p_pre: Unindent);

            GUIAtlas    = TextureAtlas.Build("gui_texture_atlas", "GUI", "gui");
            BlocksAtlas = TextureAtlas.Build("blocks_texture_atlas", "Blocks", "block");
        }