ReplayPuzzleGame/Assets/Resources/Scripts/Player/InputFrame.cs

16 lines
360 B
C#

using UnityEngine;
[System.Serializable]
public struct InputFrame
{
public float moveX;
public bool isJumpPressed;
public bool isHangPressed;
public InputFrame(float moveX, bool isJumpPressed, bool isHangPressed)
{
this.moveX = moveX;
this.isJumpPressed = isJumpPressed;
this.isHangPressed = isHangPressed;
}
}