添加乌兰浩特万达商场场景
This commit is contained in:
59
Assets/DC/乌兰浩特万达地形.prefab
Normal file
59
Assets/DC/乌兰浩特万达地形.prefab
Normal file
@@ -0,0 +1,59 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1001 &8581984256432053041
|
||||
PrefabInstance:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
serializedVersion: 3
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications:
|
||||
- target: {fileID: -8679921383154817045, guid: 9f095be972a906847867d1d8247e50d8, type: 3}
|
||||
propertyPath: m_LocalPosition.x
|
||||
value: -10.13
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9f095be972a906847867d1d8247e50d8, type: 3}
|
||||
propertyPath: m_LocalPosition.y
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9f095be972a906847867d1d8247e50d8, type: 3}
|
||||
propertyPath: m_LocalPosition.z
|
||||
value: 5.22
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9f095be972a906847867d1d8247e50d8, type: 3}
|
||||
propertyPath: m_LocalRotation.w
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9f095be972a906847867d1d8247e50d8, type: 3}
|
||||
propertyPath: m_LocalRotation.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9f095be972a906847867d1d8247e50d8, type: 3}
|
||||
propertyPath: m_LocalRotation.y
|
||||
value: 1
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9f095be972a906847867d1d8247e50d8, type: 3}
|
||||
propertyPath: m_LocalRotation.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9f095be972a906847867d1d8247e50d8, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.x
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9f095be972a906847867d1d8247e50d8, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.y
|
||||
value: 180
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: -8679921383154817045, guid: 9f095be972a906847867d1d8247e50d8, type: 3}
|
||||
propertyPath: m_LocalEulerAnglesHint.z
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 919132149155446097, guid: 9f095be972a906847867d1d8247e50d8, type: 3}
|
||||
propertyPath: m_Name
|
||||
value: "\u4E4C\u5170\u6D69\u7279\u4E07\u8FBE\u5730\u5F62"
|
||||
objectReference: {fileID: 0}
|
||||
m_RemovedComponents: []
|
||||
m_RemovedGameObjects: []
|
||||
m_AddedGameObjects: []
|
||||
m_AddedComponents: []
|
||||
m_SourcePrefab: {fileID: 100100000, guid: 9f095be972a906847867d1d8247e50d8, type: 3}
|
||||
7
Assets/DC/乌兰浩特万达地形.prefab.meta
Normal file
7
Assets/DC/乌兰浩特万达地形.prefab.meta
Normal file
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ea9556b0aab4c5444b405274b9cd02b6
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/_Alice/Scenes/Wulanhaote_Wanda_Shangchang.meta
Normal file
8
Assets/_Alice/Scenes/Wulanhaote_Wanda_Shangchang.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 71a24a48df87d2a478b8470354b2a249
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
235575
Assets/_Alice/Scenes/Wulanhaote_Wanda_Shangchang.unity
Normal file
235575
Assets/_Alice/Scenes/Wulanhaote_Wanda_Shangchang.unity
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 76f67502eb2f66d4bbb130fedb962660
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/_Alice/Scenes/Wulanhaote_Wanda_Shangchang/NavMesh.asset
Normal file
BIN
Assets/_Alice/Scenes/Wulanhaote_Wanda_Shangchang/NavMesh.asset
Normal file
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2c6ccd8b96808f64989817c6727b8153
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 23800000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -34,6 +34,8 @@ public enum Place
|
||||
Shandong_Heze_Yuncheng_Gefuli = 20,
|
||||
Wulanhaote_Ouya_Shangchang = 21,
|
||||
Wulanhaote_Wanda_Shangchang = -21,
|
||||
Yunnan_Mile_Jinchen_Shidaiguangchang = 22,
|
||||
Xinjiang_Yili_Yining_Wanrong = 23,
|
||||
}
|
||||
|
||||
public class GameLocal : MonoBehaviour
|
||||
|
||||
@@ -119,13 +119,10 @@ public class TaskBox : MonoBehaviour
|
||||
}
|
||||
|
||||
public Vector3 spawnCenter = Vector3.zero; // 生成中心点(相对于Spawner的本地坐标)
|
||||
private Vector3 spawnRange = new Vector3(3f, 1f, 3f); // 在 X/Y/Z 方向的随机范围
|
||||
private Vector3 spawnRange = new Vector3(); // 在 X/Y/Z 方向的随机范围
|
||||
|
||||
//修改南京栖霞尧化门金地广场场景
|
||||
//private Vector3 spawnRange = new Vector3(1.5f, 1f, 2f); //内
|
||||
////修改山东济南槐荫晟芙桐场景
|
||||
//private Vector3 spawnRange = new Vector3(1f, 0.5f, 1f);//内
|
||||
//private Vector3 spawnRange = new Vector3(2f, 1f, 2f);//外
|
||||
//修改湖南吉首9.11参加场景
|
||||
//private Vector3 spawnRange = new Vector3(2f, 1f, 2f);
|
||||
//修改山东济南槐荫晟芙桐场景
|
||||
@@ -165,14 +162,35 @@ public class TaskBox : MonoBehaviour
|
||||
},6f);
|
||||
for (int i = 0; i < gemCount; i++)
|
||||
{
|
||||
// 计算一个随机位置
|
||||
Vector3 randomOffset = new Vector3(
|
||||
Random.Range(-spawnRange.x, spawnRange.x),
|
||||
Random.Range(1, 3),
|
||||
////修改山东济南槐荫晟芙桐场景
|
||||
//Random.Range(0.5f, 1),
|
||||
Random.Range(-spawnRange.z, spawnRange.z)
|
||||
);
|
||||
if(GameLocal.Ins.place == Place.Nanjing_Qixia_Yaohuamen_Jindiguangchang)
|
||||
{
|
||||
spawnRange = new Vector3(1.5f, 1f, 2f);
|
||||
}
|
||||
if(GameLocal.Ins.place == Place.Shandong_Jinan_Huaiyin_ShengfutongShangmao
|
||||
||GameLocal.Ins.place == Place.Hunan_Jishou_Qianzhou_Tianhong)
|
||||
{
|
||||
spawnRange = new Vector3(1f, 0.5f, 1f);
|
||||
}
|
||||
if(GameLocal.Ins.place == Place.Shandong_Jinan_Huaiyin_ShengfutongShangmao_wai)
|
||||
{
|
||||
spawnRange = new Vector3(2f, 1f, 2f);
|
||||
}
|
||||
if(GameLocal.Ins.place == Place.Wulanhaote_Wanda_Shangchang)
|
||||
{
|
||||
spawnRange = new Vector3(2f, 1f, 1.8f);
|
||||
}
|
||||
else
|
||||
{
|
||||
spawnRange = new Vector3(3f, 1f, 3f);
|
||||
}
|
||||
// 计算一个随机位置
|
||||
Vector3 randomOffset = new Vector3(
|
||||
Random.Range(-spawnRange.x, spawnRange.x),
|
||||
Random.Range(1, 3),
|
||||
////修改山东济南槐荫晟芙桐场景
|
||||
//Random.Range(0.5f, 1),
|
||||
Random.Range(-spawnRange.z, spawnRange.z)
|
||||
);
|
||||
Vector3 spawnPos = transform.position.ReflectVectorXOZ() + randomOffset;
|
||||
|
||||
// 实例化,并让它成为Spawner的子物体(方便清理/组织)
|
||||
|
||||
BIN
Assets/sucai/乌兰浩特万达地形.FBX
Normal file
BIN
Assets/sucai/乌兰浩特万达地形.FBX
Normal file
Binary file not shown.
109
Assets/sucai/乌兰浩特万达地形.FBX.meta
Normal file
109
Assets/sucai/乌兰浩特万达地形.FBX.meta
Normal file
@@ -0,0 +1,109 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9f095be972a906847867d1d8247e50d8
|
||||
ModelImporter:
|
||||
serializedVersion: 22200
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
materials:
|
||||
materialImportMode: 2
|
||||
materialName: 0
|
||||
materialSearch: 1
|
||||
materialLocation: 1
|
||||
animations:
|
||||
legacyGenerateAnimations: 4
|
||||
bakeSimulation: 0
|
||||
resampleCurves: 1
|
||||
optimizeGameObjects: 0
|
||||
removeConstantScaleCurves: 0
|
||||
motionNodeName:
|
||||
rigImportErrors:
|
||||
rigImportWarnings:
|
||||
animationImportErrors:
|
||||
animationImportWarnings:
|
||||
animationRetargetingWarnings:
|
||||
animationDoRetargetingWarnings: 0
|
||||
importAnimatedCustomProperties: 0
|
||||
importConstraints: 0
|
||||
animationCompression: 1
|
||||
animationRotationError: 0.5
|
||||
animationPositionError: 0.5
|
||||
animationScaleError: 0.5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
extraUserProperties: []
|
||||
clipAnimations: []
|
||||
isReadable: 0
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 1
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
useSRGBMaterialColor: 1
|
||||
sortHierarchyByName: 1
|
||||
importPhysicalCameras: 1
|
||||
importVisibility: 1
|
||||
importBlendShapes: 1
|
||||
importCameras: 1
|
||||
importLights: 1
|
||||
nodeNameCollisionStrategy: 1
|
||||
fileIdsGeneration: 2
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 0
|
||||
useFileUnits: 1
|
||||
keepQuads: 0
|
||||
weldVertices: 1
|
||||
bakeAxisConversion: 0
|
||||
preserveHierarchy: 0
|
||||
skinWeightsMode: 0
|
||||
maxBonesPerVertex: 4
|
||||
minBoneWeight: 0.001
|
||||
optimizeBones: 1
|
||||
meshOptimizationFlags: -1
|
||||
indexFormat: 0
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVMarginMethod: 1
|
||||
secondaryUVMinLightmapResolution: 40
|
||||
secondaryUVMinObjectScale: 1
|
||||
secondaryUVPackMargin: 4
|
||||
useFileScale: 1
|
||||
strictVertexDataChecks: 0
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
normalImportMode: 0
|
||||
tangentImportMode: 3
|
||||
normalCalculationMode: 4
|
||||
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
|
||||
blendShapeNormalImportMode: 1
|
||||
normalSmoothingSource: 0
|
||||
referencedClips: []
|
||||
importAnimation: 1
|
||||
humanDescription:
|
||||
serializedVersion: 3
|
||||
human: []
|
||||
skeleton: []
|
||||
armTwist: 0.5
|
||||
foreArmTwist: 0.5
|
||||
upperLegTwist: 0.5
|
||||
legTwist: 0.5
|
||||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
feetSpacing: 0
|
||||
globalScale: 1
|
||||
rootMotionBoneName:
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 2
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
|
||||
importBlendShapeDeformPercent: 1
|
||||
remapMaterialsIfMaterialImportModeIsNone: 0
|
||||
additionalBone: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -65,9 +65,12 @@ EditorBuildSettings:
|
||||
- enabled: 0
|
||||
path: Assets/_Alice/Scenes/Shandong_Heze_Yuncheng_Gefuli.unity
|
||||
guid: 9b5e8e8da63a47149a214bedf8a71371
|
||||
- enabled: 1
|
||||
- enabled: 0
|
||||
path: Assets/_Alice/Scenes/Wulanhaote_Ouya_Shangchang.unity
|
||||
guid: ec7237f963be2d442aaa46902c24b38d
|
||||
- enabled: 1
|
||||
path: Assets/_Alice/Scenes/Wulanhaote_Wanda_Shangchang.unity
|
||||
guid: 76f67502eb2f66d4bbb130fedb962660
|
||||
m_configObjects:
|
||||
Unity.XR.PXR.Settings: {fileID: 11400000, guid: d0f8149c48842b4488cf6fb974cff9a2,
|
||||
type: 2}
|
||||
|
||||
@@ -163,7 +163,7 @@ PlayerSettings:
|
||||
androidSupportedAspectRatio: 1
|
||||
androidMaxAspectRatio: 2.1
|
||||
applicationIdentifier:
|
||||
Android: com.pineappletech.aliceball.wulanhaoteouyashangchang
|
||||
Android: com.pineappletech.aliceball.wulanhaotewandashangchang
|
||||
Standalone: com.DefaultCompany.com.unity.template.ar
|
||||
buildNumber:
|
||||
Standalone: 0
|
||||
|
||||
Reference in New Issue
Block a user