17 lines
277 B
GDScript
17 lines
277 B
GDScript
class_name CustomResourceTestClass
|
|
extends Resource
|
|
|
|
func foo() -> String:
|
|
return "foo"
|
|
|
|
func foo2():
|
|
return "foo2"
|
|
|
|
func foo_void() -> void:
|
|
pass
|
|
|
|
func bar(arg1 :int, arg2 :int = 23, name :String = "test") -> String:
|
|
return "%s_%d" % [name, arg1+arg2]
|
|
|
|
func foo5():
|
|
pass
|