UnityEditor.Lightmapping.ClearPrecompSetIsDone C# (CSharp) Method

ClearPrecompSetIsDone() private method

private ClearPrecompSetIsDone ( ) : void
return void
        internal static extern void ClearPrecompSetIsDone();
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

コード例 #1
0
        private void EnlightenBakeSettings()
        {
            SerializedObject   serializedObject    = new SerializedObject(LightmapEditorSettings.GetLightmapSettings());
            SerializedProperty serializedProperty  = serializedObject.FindProperty("m_GISettings.m_EnableRealtimeLightmaps");
            SerializedProperty serializedProperty2 = serializedObject.FindProperty("m_GISettings.m_EnableBakedLightmaps");
            bool boolValue = serializedProperty.boolValue;

            this.RealtimeGUI(serializedObject, serializedProperty);
            this.BakedGUI(serializedObject, serializedProperty.boolValue, serializedProperty2);
            this.GeneralSettingsGUI(serializedObject, serializedProperty.boolValue, serializedProperty2.boolValue);
            if (serializedProperty2.boolValue && serializedProperty.boolValue && !boolValue)
            {
                Lightmapping.ClearPrecompSetIsDone();
            }
            serializedObject.ApplyModifiedProperties();
        }
All Usage Examples Of UnityEditor.Lightmapping::ClearPrecompSetIsDone