Skip to content

Commit e805da1

Browse files
committed
feat: SCRIPTABLE_VALUES_NO_PROPERTY_BAGS to skip property bags generation
1 parent 1abcfb8 commit e805da1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System.Runtime.CompilerServices;
22
#if SCRIPTABLE_VALUES_PROPERTIES
3-
using Unity.Properties;
43
#endif // SCRIPTABLE_VALUES_PROPERTIES
54

65
#if UNITY_EDITOR
@@ -11,6 +10,6 @@
1110
[assembly: InternalsVisibleTo("Hertzole.ScriptableValues.Tests.Editor")]
1211
#endif // UNITY_INCLUDE_TESTS
1312

14-
#if SCRIPTABLE_VALUES_PROPERTIES
13+
#if SCRIPTABLE_VALUES_PROPERTIES && !SCRIPTABLE_VALUES_NO_PROPERTY_BAGS
1514
[assembly: GeneratePropertyBagsForAssembly]
16-
#endif // SCRIPTABLE_VALUES_PROPERTIES
15+
#endif // SCRIPTABLE_VALUES_PROPERTIES && !SCRIPTABLE_VALUES_NO_PROPERTY_BAGS

0 commit comments

Comments
 (0)