public void Show() { base.GetComponent <dfPanel>().Show(); this.cursorManager.On = true; this.blurCamera.enabled = true; HudEnabled.Disable(); }
private void Start() { SteamClient.Create(); ConsoleSystem.Run("config.load", false); ConsoleSystem.Run("serverfavourite.load", false); HudEnabled.Disable(); DatablockDictionary.Initialize(); Application.LoadLevelAdditive("GameUI"); FeedbackLog.Start(FeedbackLog.TYPE.HardwareInfo); FeedbackLog.Writer.Write(SystemInfo.deviceModel); FeedbackLog.Writer.Write(SystemInfo.deviceName); FeedbackLog.Writer.Write(SystemInfo.graphicsDeviceName); FeedbackLog.Writer.Write(SystemInfo.graphicsDeviceVendor); FeedbackLog.Writer.Write(SystemInfo.graphicsDeviceVersion); FeedbackLog.Writer.Write(SystemInfo.graphicsMemorySize); FeedbackLog.Writer.Write(SystemInfo.graphicsShaderLevel); FeedbackLog.Writer.Write(SystemInfo.operatingSystem); FeedbackLog.Writer.Write(SystemInfo.processorCount); FeedbackLog.Writer.Write(SystemInfo.processorType); FeedbackLog.Writer.Write(SystemInfo.supportedRenderTargetCount); FeedbackLog.Writer.Write(SystemInfo.supportsComputeShaders); FeedbackLog.Writer.Write(SystemInfo.supportsImageEffects); FeedbackLog.Writer.Write(SystemInfo.supportsInstancing); FeedbackLog.Writer.Write(SystemInfo.supportsRenderTextures); FeedbackLog.Writer.Write(SystemInfo.supportsRenderToCubemap); FeedbackLog.Writer.Write(SystemInfo.supportsShadows); FeedbackLog.Writer.Write(SystemInfo.supportsStencil); FeedbackLog.Writer.Write(SystemInfo.systemMemorySize); FeedbackLog.End(FeedbackLog.TYPE.HardwareInfo); Connection.GameLoaded(); }
public static void Set(bool enable) { if (HudEnabled.On != enable) { HudEnabled.Toggle(); } }
public void Hide() { base.GetComponent <dfPanel>().Hide(); this.cursorManager.On = false; this.blurCamera.enabled = false; LoadingScreen.Hide(); HudEnabled.Enable(); }
private void Start() { SteamClient.Create(); ConsoleSystem.Run("config.load", false); ConsoleSystem.Run("serverfavourite.load", false); HudEnabled.Disable(); DatablockDictionary.Initialize(); Application.LoadLevelAdditive("GameUI"); Connection.GameLoaded(); }
public static void Enable() { HudEnabled.Set(true); }
public static void Disable() { HudEnabled.Set(false); }