Files
Fishing2/Packages/com.waveharmonic.crest/Runtime/Scripts/Watercraft/Controls/Control.cs
2025-05-10 12:49:47 +08:00

20 lines
565 B
C#

// Crest Water System
// Copyright © 2024 Wave Harmonic. All rights reserved.
using UnityEngine;
namespace WaveHarmonic.Crest.Watercraft
{
/// <summary>
/// Controls provide input whether from the player or otherwise. Extend to
/// implement a control. See derived classes for examples.
/// </summary>
public abstract class Control : MonoBehaviour
{
/// <summary>
/// Provides input for controllers. XYZ is steer, float and drive respectively.
/// </summary>
public abstract Vector3 Input { get; }
}
}