添加插件
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user