Skip to content

Commit

Permalink
allow lossing import package, and, fuck you Unity
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerTemp committed Dec 15, 2024
1 parent e5d8491 commit 0c2a29a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Editor/Drawers/HandleDrawers/SaintsArrowAttributeDrawer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if SAINTSFIELD_SAINTSDRAW && !SAINTSFIELD_SAINTSDRAW_DISABLE
#if SAINTSFIELD_SAINTSDRAW && !SAINTSFIELD_SAINTSDRAW_DISABLE || SAINTSDRAW

using System;
using System.Collections;
Expand Down Expand Up @@ -442,7 +442,6 @@ private void OnSceneGUIUIToolkit(SceneView sceneView)
}

#else
using System;
using System.Reflection;
using SaintsField.Editor.Core;
using SaintsField.Editor.Utils;
Expand Down Expand Up @@ -502,14 +501,18 @@ protected override VisualElement CreateBelowUIToolkit(SerializedProperty propert
{
style =
{
flexDirection = FlexDirection.Column,
flexDirection = FlexDirection.Row,
},
};

root.Add(new HelpBox
{
text = ErrorMessage,
messageType = HelpBoxMessageType.Error,
style =
{
flexGrow = 1,
},
});
root.Add(new Button(() => Application.OpenURL(Url))
{
Expand Down

0 comments on commit 0c2a29a

Please sign in to comment.