Tested some custom resources with a test scene.
This commit is contained in:
parent
4c512379c5
commit
1fd4a809f2
14 changed files with 125 additions and 4 deletions
7
scripts/ExampleResource.gd
Normal file
7
scripts/ExampleResource.gd
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
extends Resource
|
||||
class_name ExampleResource
|
||||
|
||||
@export var type: String = "Example"
|
||||
@export var speed: float = 10.0
|
||||
@export var sprite: Texture2D = preload("res://icon.svg")
|
||||
@export var new_type: bool = false
|
||||
Loading…
Add table
Add a link
Reference in a new issue