ReplayPuzzleGame/Assets/Scripts/Replay/InputFrame.cs

16 lines
360 B
C#
Raw Normal View History

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;
}
}