Skip to content

Commit

Permalink
Fix compilation error with Odin, update gitignore to include only Edi…
Browse files Browse the repository at this point in the history
…tor dir
  • Loading branch information
Edvinas01 committed Jan 29, 2022
1 parent 6199026 commit 81d6fa9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,11 @@ Assets/*
!Assets/Scenes.meta
!Assets/ScriptableEvents
!Assets/ScriptableEvents.meta

!Assets/Scripts
!Assets/Scripts.meta

Assets/Scripts/*

!Assets/Scripts/Editor
!Assets/Scripts/Editor.meta
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ private void DrawDescriptionHelpBox()
private void DrawDescriptionTextArea()
{
#if ODIN_INSPECTOR
var value = descriptionProperty.ValueEntry.WeakSmartValue;
var value = descriptionProperty.ValueEntry.WeakSmartValue as string;
value = ScriptableEventEditorGUI.DrawDescriptionTextArea(value);
descriptionProperty.ValueEntry.WeakSmartValue = value;
#else
Expand Down

0 comments on commit 81d6fa9

Please sign in to comment.