Space-Smash-Out/Assets/Scripts/Characters/ShipInput.cs

18 lines
381 B
C#

using FishNet.Object.Prediction;
using UnityEngine;
namespace ShipHandling
{
/// <summary>
/// Variables for the ship which can also be under the players control.
/// </summary>
public class ShipInput
{
public float thrustInput = 0;
public float boostInput = 0;
public float shootInput = 0;
// Saves the current input for steering
public float steerInput = 0;
}
}