UnityEditor.EditorUserSettings.GetConfigValue C# (CSharp) 메소드

GetConfigValue() 개인적인 메소드

private GetConfigValue ( string name ) : string
name string
리턴 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