Skip to content

Commit

Permalink
add installed marco
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerTemp committed Dec 15, 2024
1 parent 94d678b commit 7ee5827
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Editor/SaintsMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ namespace SaintsDraw.Editor
public static class SaintsMenu
{

#if !SAINTSDRAW
[InitializeOnLoadMethod]
public static void AddInstalledMarco() => AddCompileDefine("SAINTSDRAW");
#endif

#region Gizmos
#if SAINTSDRAW_GIZMOS_DISABLE
[MenuItem("Window/Saints/Draw/Enable Gizmos")]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "today.comes.saintsdraw",
"version": "1.0.4",
"version": "1.0.5",
"displayName": "SaintsDraw",
"description": "A Unity plugin for gizmos and LineRenderer drawing in inspector",
"unity": "2019.1",
Expand Down

0 comments on commit 7ee5827

Please sign in to comment.