Space-Smash-Out/Assets/Scripts/ShipState.cs
2024-04-03 16:48:59 +02:00

19 lines
425 B
C#

using UnityEngine;
namespace ShipHandling
{
/// <summary>
/// Variables for the ship which can also be under the players control.
/// </summary>
public class ShipState
{
public float thrustInput = 0;
public float boostInput = 0;
public float boostCapacity;
// Saves the current input for steering
public float steerInput = 0;
public Vector3 currentGravity = new Vector3();
public bool reset = false;
}
}