FSM 작성중
This commit is contained in:
@@ -1,5 +1,34 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
public class IdleState : IState
|
||||
{
|
||||
public void Enter()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void Update()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void Exit()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public IState CheckTransition()
|
||||
{
|
||||
// 우선 순위
|
||||
// Jump를 우선
|
||||
// Move는 Jump보다 낮은 우선
|
||||
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public class PlayerMove : MonoBehaviour
|
||||
{
|
||||
private static readonly int IsJumping = Animator.StringToHash("isJumping");
|
||||
|
||||
Reference in New Issue
Block a user