mirror of
https://github.com/omegaleo/Tutorials.git
synced 2026-11-08 17:43:27 +00:00
16 lines
305 B
GDScript
16 lines
305 B
GDScript
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
|