This repository was archived by the owner on Aug 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +16
-5
lines changed
Assets/com.nuclearband.sodatabase/Editor Expand file tree Collapse file tree 3 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,15 @@ private static void ClearSave()
4545 field . SetValue ( model , default ) ;
4646 }
4747
48+ var properties =
49+ typeInfo . GetProperties ( BindingFlags . Public | BindingFlags . NonPublic | BindingFlags . Instance ) ;
50+ foreach ( var property in properties )
51+ {
52+ var attributes = property . GetCustomAttributes ( typeof ( JsonPropertyAttribute ) , false ) ;
53+ if ( attributes . Length > 0 )
54+ property . SetValue ( model , default ) ;
55+ }
56+
4857 EditorUtility . SetDirty ( model ) ;
4958 }
5059
Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ PlayerSettings:
9494 useMacAppStoreValidation : 0
9595 macAppStoreCategory : public.app-category.games
9696 gpuSkinning : 0
97+ meshDeformation : 0
9798 xboxPIXTextureCapture : 0
9899 xboxEnableAvatar : 0
99100 xboxEnableKinect : 0
@@ -147,7 +148,7 @@ PlayerSettings:
147148 enableFrameTimingStats : 0
148149 enableOpenGLProfilerGPURecorders : 1
149150 useHDRDisplay : 0
150- D3DHDRBitDepth : 0
151+ hdrBitDepth : 0
151152 m_ColorGamuts : 00000000
152153 targetPixelDensity : 30
153154 resolutionScalingMode : 0
@@ -171,7 +172,7 @@ PlayerSettings:
171172 ForceInternetPermission : 0
172173 ForceSDCardPermission : 0
173174 CreateWallpaper : 0
174- APKExpansionFiles : 0
175+ androidSplitApplicationBinary : 0
175176 keepLoadedShadersAlive : 0
176177 StripUnusedMeshComponents : 0
177178 strictShaderVariantMatching : 0
@@ -776,13 +777,14 @@ PlayerSettings:
776777 webGLPowerPreference : 2
777778 scriptingDefineSymbols :
778779 Android : ODIN_INSPECTOR;ODIN_INSPECTOR_3
779- Standalone : ODIN_INSPECTOR;ODIN_INSPECTOR_3
780+ Standalone : ODIN_INSPECTOR;ODIN_INSPECTOR_3;ODIN_INSPECTOR_3_1
780781 additionalCompilerArguments : {}
781782 platformArchitecture : {}
782783 scriptingBackend :
783784 Android : 0
784785 il2cppCompilerConfiguration : {}
785786 il2cppCodeGeneration : {}
787+ il2cppStacktraceInformation : {}
786788 managedStrippingLevel : {}
787789 incrementalIl2cppBuild : {}
788790 suppressCommonWarnings : 1
Original file line number Diff line number Diff line change 1- m_EditorVersion: 2023.1.0a21
2- m_EditorVersionWithRevision: 2023.1.0a21 (1e5025d78c0b )
1+ m_EditorVersion: 2023.1.0a25
2+ m_EditorVersionWithRevision: 2023.1.0a25 (eac607654885 )
You can’t perform that action at this time.
0 commit comments