You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

9 regels
161 B

  1. extends Node
  2. export var character_data : Resource
  3. func _ready():
  4. var inst = character_data.scene.instance()
  5. inst.name = character_data.name
  6. add_child(inst)