UnityEditor.EditorUserSettings.GetConfigValue C# (CSharp) Method

GetConfigValue() private method

private GetConfigValue ( string name ) : string
name string
return string
        public static extern string GetConfigValue(string name);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

        public void OnEnable()
        {
            m_BakeSettings = new LightingWindowBakeSettings();
            m_BakeSettings.OnEnable();

            m_ShowWorkflowSettings   = new SavedBool("LightingWindow.ShowWorkflowSettings", true);
            m_ShowProbeDebugSettings = new SavedBool("LightingWindow.ShowProbeDebugSettings", false);

            string configDeviceAndPlatform = EditorUserSettings.GetConfigValue("lightmappingDeviceAndPlatform");

            if (configDeviceAndPlatform != null)
            {
                m_LightmapDeviceAndPlatform = Int32.Parse(configDeviceAndPlatform);
            }
            else
            {
                EditorUserSettings.SetConfigValue("lightmappingDeviceAndPlatform", "0");
            }
        }
All Usage Examples Of UnityEditor.EditorUserSettings::GetConfigValue