升级obi
This commit is contained in:
@@ -13,18 +13,8 @@ namespace Obi
|
||||
set;
|
||||
}
|
||||
|
||||
float drag
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
float lift
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
float GetDrag(ObiAerodynamicConstraintsBatch batch, int constraintIndex);
|
||||
float GetLift(ObiAerodynamicConstraintsBatch batch, int constraintIndex);
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
using System;
|
||||
|
||||
namespace Obi
|
||||
{
|
||||
[Serializable]
|
||||
public class ObiPinholeConstraintsData : ObiConstraints<ObiPinholeConstraintsBatch>
|
||||
{
|
||||
|
||||
public override ObiPinholeConstraintsBatch CreateBatch(ObiPinholeConstraintsBatch source = null)
|
||||
{
|
||||
return new ObiPinholeConstraintsBatch();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: caeaf013c17424e0884d22017414ee1c
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user