Godot Version
4.2.2
Question
I’m making a 2d side-scrolling game and I’m currently making CharacterStateMachine but in my AirState I get this error “Cannot call non-static function “is_on_floor()” on the class “CharacterBody2D” directly. Make an instance instead.”
this is my AirState script
this is my CharacterStateMachine script
please help me
(My english is not that good,Sorry)