mirror of
https://github.com/omegaleo/Tutorials.git
synced 2026-11-09 01:53:29 +00:00
first commit
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
class_name Ability
|
||||
extends Resource
|
||||
|
||||
@export var name: String
|
||||
@export var power: float
|
||||
@export var throwable: PackedScene
|
||||
|
||||
func _init() -> void:
|
||||
# Initialize your ability here
|
||||
var test: String = get_ability_name()
|
||||
|
||||
# Initialize your packed scene here
|
||||
|
||||
func get_ability_name() -> String:
|
||||
return name
|
||||
Reference in New Issue
Block a user