Files
Fishing2/Assets/Obi/Scripts/Common/Blueprints/Constraints/Groups/ObiAerodynamicConstraintsData.cs
2026-01-22 22:08:21 +08:00

29 lines
713 B
C#

using UnityEngine;
using System.Collections;
using System;
namespace Obi
{
public interface IAerodynamicConstraintsUser
{
bool aerodynamicsEnabled
{
get;
set;
}
float GetDrag(ObiAerodynamicConstraintsBatch batch, int constraintIndex);
float GetLift(ObiAerodynamicConstraintsBatch batch, int constraintIndex);
}
[Serializable]
public class ObiAerodynamicConstraintsData : ObiConstraints<ObiAerodynamicConstraintsBatch>
{
public override ObiAerodynamicConstraintsBatch CreateBatch(ObiAerodynamicConstraintsBatch source = null)
{
return new ObiAerodynamicConstraintsBatch();
}
}
}