Load static configs from JSON, export build setup
This commit is contained in:
8
Assets/StreamingAssets/Configs/Models.meta
Normal file
8
Assets/StreamingAssets/Configs/Models.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d896f75c5d864994b9d88c2da1515a52
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
25
Assets/StreamingAssets/Configs/Models/drone_target.json
Normal file
25
Assets/StreamingAssets/Configs/Models/drone_target.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"accelerationConfig": {
|
||||
"maxReferenceAcceleration": 300,
|
||||
"referenceSpeed": 1000
|
||||
},
|
||||
"boostConfig": {
|
||||
"boostTime": 0.3,
|
||||
"boostAcceleration": 350
|
||||
},
|
||||
"liftDragConfig": {
|
||||
"liftCoefficient": 0.2,
|
||||
"dragCoefficient": 0.7,
|
||||
"liftDragRatio": 5
|
||||
},
|
||||
"bodyConfig": {
|
||||
"mass": 0.37,
|
||||
"crossSectionalArea": 0.0003,
|
||||
"finArea": 0.0006,
|
||||
"bodyArea": 0.01
|
||||
},
|
||||
"hitConfig": {
|
||||
"hitRadius": 1,
|
||||
"killProbability": 0.9
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1a7820df17edabd4aa31868d2fd396a6
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
25
Assets/StreamingAssets/Configs/Models/hydra70.json
Normal file
25
Assets/StreamingAssets/Configs/Models/hydra70.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"accelerationConfig": {
|
||||
"maxReferenceAcceleration": 300,
|
||||
"referenceSpeed": 1000
|
||||
},
|
||||
"boostConfig": {
|
||||
"boostTime": 0.3,
|
||||
"boostAcceleration": 100
|
||||
},
|
||||
"liftDragConfig": {
|
||||
"liftCoefficient": 0.2,
|
||||
"dragCoefficient": 1,
|
||||
"liftDragRatio": 5
|
||||
},
|
||||
"bodyConfig": {
|
||||
"mass": 15.8,
|
||||
"crossSectionalArea": 0.004,
|
||||
"finArea": 0.007,
|
||||
"bodyArea": 0.12
|
||||
},
|
||||
"hitConfig": {
|
||||
"hitRadius": 1,
|
||||
"killProbability": 0.9
|
||||
}
|
||||
}
|
||||
7
Assets/StreamingAssets/Configs/Models/hydra70.json.meta
Normal file
7
Assets/StreamingAssets/Configs/Models/hydra70.json.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3a8f5736c9337c84a9871d02d98bdae2
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
25
Assets/StreamingAssets/Configs/Models/micromissile.json
Normal file
25
Assets/StreamingAssets/Configs/Models/micromissile.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"accelerationConfig": {
|
||||
"maxReferenceAcceleration": 300,
|
||||
"referenceSpeed": 1000
|
||||
},
|
||||
"boostConfig": {
|
||||
"boostTime": 0.3,
|
||||
"boostAcceleration": 350
|
||||
},
|
||||
"liftDragConfig": {
|
||||
"liftCoefficient": 0.2,
|
||||
"dragCoefficient": 0.7,
|
||||
"liftDragRatio": 5
|
||||
},
|
||||
"bodyConfig": {
|
||||
"mass": 0.37,
|
||||
"crossSectionalArea": 0.0003,
|
||||
"finArea": 0.0006,
|
||||
"bodyArea": 0.01
|
||||
},
|
||||
"hitConfig": {
|
||||
"hitRadius": 1,
|
||||
"killProbability": 0.9
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 54835a0f75efb1041a19e5fa8d9c2de3
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user