32 lines
565 B
C#
32 lines
565 B
C#
using SHADE;
|
|
using System;
|
|
|
|
public class PlayerJumpState : BaseState
|
|
{
|
|
public PlayerJumpState(StateMachine stateMachine) : base(stateMachine)
|
|
{
|
|
stateName = "Jump State";
|
|
}
|
|
public override void OnEnter()
|
|
{
|
|
//Debug.Log("jump");
|
|
}
|
|
public override void update()
|
|
{
|
|
//Debug.Log("WALKING");
|
|
}
|
|
public override void fixedUpdate()
|
|
{
|
|
//Debug.Log("FIXED WALKING");
|
|
}
|
|
public override void OnExit()
|
|
{
|
|
//Debug.Log("WALK EXIT");
|
|
}
|
|
public override void onTriggerEnter(CollisionInfo info)
|
|
{
|
|
//Debug.Log("TRIGGER");
|
|
}
|
|
}
|
|
|