Skip to content

Commit 1a0c4f0

Browse files
committed
Wrap scene attribute in macro
1 parent 72b0fd3 commit 1a0c4f0

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Editor/Drawers/Control/Scene/_BuildScene.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// smidgens @ github
22

3-
#if UNITY_EDITOR
3+
#if UNITY_EDITOR && !ATTRIBUTES_SCENE_0
44

55
namespace Smidgenomics.Unity.Attributes.Editor
66
{
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
// smidgens @ github
22

3+
#if !ATTRIBUTES_SCENE_0
4+
35
namespace Smidgenomics.Unity.Attributes
46
{
57
/// <summary>
68
/// Dropdown of scenes in build settings
79
/// valid on: string,int
810
/// </summary>
911
public class BuildSceneAttribute : __BaseControl { }
10-
}
12+
}
13+
14+
#endif

0 commit comments

Comments
 (0)