public override void ClientTerminate() { Interface = null; shaderUI.Deactivate(); shaderUI = null; }
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); }