guest review process
This commit is contained in:
@@ -11,6 +11,8 @@ class_name Character
|
||||
@onready var mask_eyes: Mask = $MaskEyes
|
||||
@onready var mask_mouth: Mask = $MaskMouth
|
||||
|
||||
@onready var animation_player: AnimationPlayer = $AnimationPlayer
|
||||
|
||||
func _on_chara_resource_changed() -> void:
|
||||
if chara_resource == null:
|
||||
return
|
||||
@@ -43,3 +45,13 @@ func _engine_process(delta: float) -> void:
|
||||
mask_eyes.rotation = chara_resource.mask_eyes_rotation
|
||||
mask_mouth.position = chara_resource.mask_mouth_position
|
||||
mask_mouth.rotation = chara_resource.mask_mouth_rotation
|
||||
|
||||
|
||||
func come_in() -> void:
|
||||
print("come ine")
|
||||
animation_player.play("come_in")
|
||||
|
||||
|
||||
func go_out() -> void:
|
||||
animation_player.play("go_out")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user