UnityEditor.SessionState.GetBool C# (CSharp) Method

GetBool() private method

private GetBool ( string key, bool defaultValue ) : bool
key string
defaultValue bool
return bool
        internal static extern bool GetBool(string key, bool defaultValue);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

 private void InitializeLightingFields()
 {
     this.m_Lighting = new LightingSettingsInspector(base.serializedObject);
     this.m_Lighting.showSettings         = EditorPrefs.GetBool("MeshRendererEditor.Lighting.ShowSettings", false);
     this.m_Lighting.showChartingSettings = SessionState.GetBool("MeshRendererEditor.Lighting.ShowChartingSettings", true);
     this.m_Lighting.showLightmapSettings = SessionState.GetBool("MeshRendererEditor.Lighting.ShowLightmapSettings", true);
 }
All Usage Examples Of UnityEditor.SessionState::GetBool