Skip to content

Commit

Permalink
fix: move SomeResource to @tool script
Browse files Browse the repository at this point in the history
  • Loading branch information
russmatney committed Apr 14, 2024
1 parent 62d535f commit 792026f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SomeResource.gd
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@tool
extends Resource
class_name SomeResource

Expand All @@ -6,5 +7,5 @@ enum Element {NONE, FIRE, WATER, WIND}
@export var name : String
@export var element : Element

func to_printable():
func to_pretty():
return {name=name, element=element}

0 comments on commit 792026f

Please sign in to comment.