18 lines
394 B
C#
18 lines
394 B
C#
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;
|
|
public Vector2 radialInput = new Vector2();
|
|
}
|
|
}
|