コード例 #1
0
        public override void ClientTerminate()
        {
            Interface = null;

            shaderUI.Deactivate();
            shaderUI = null;
        }
コード例 #2
0
        public override void ClientInitialize()
        {
            Interface = new UserInterface();
            Filters.Scene["ModdersToolkit:TestScreenShader"] = new Filter(new ScreenShaderData("FilterInvert"), EffectPriority.VeryHigh);

            shaderUI = new ShaderUI(Interface);
            shaderUI.Activate();

            Interface.SetState(shaderUI);
        }