Files
mir-godot/engine/scripts/world/player/state/base.gd
MakerYang a902dd3de7 new
2024-08-06 18:30:21 +08:00

26 lines
534 B
GDScript

#*****************************************************************************
# @author MakerYang
# @site mir2.makeryang.com
#*****************************************************************************
class_name StateAction extends Node2D
# 实例化状态机
var state_machine:StateMachine
# 进入状态
func enter() -> void:
pass
# 退出状态
func exit() -> void:
pass
# 渲染帧更新
func process_update(_delta: float) -> void:
pass
# 物理帧更新
func physics_process_update(_delta: float) -> void:
pass