22 lines
278 B
GDScript
22 lines
278 B
GDScript
extends Node
|
|
|
|
class_name State
|
|
|
|
signal transitioned
|
|
|
|
func enter(_charReference : CharacterBody3D):
|
|
#enter state
|
|
pass
|
|
|
|
func exit():
|
|
#exit state
|
|
pass
|
|
|
|
func update(_delta : float):
|
|
#process update
|
|
pass
|
|
|
|
func physics_update(_delta : float):
|
|
#physics_process update
|
|
pass
|