Browse Source

1.添加罗盘

2.添加油罐编号
3.大面积火可以熄灭
4.添加可操作区域作为集结区
develop
曹衍涛 4 years ago
parent
commit
bfed4e102d
  1. BIN
      Assets/02DaLianShiYou/DaLianShiHua.prefab
  2. 27
      Assets/Plugins/SmartX1App.dll.meta
  3. BIN
      Assets/Prefab/UI/Canvas.prefab
  4. BIN
      Assets/Resources/Prefab/Diaster/FireHuge.prefab
  5. BIN
      Assets/Resources/Prefab/Tool/NaturalWater.prefab
  6. BIN
      Assets/Scene/MainScene_New.unity
  7. BIN
      Assets/Scene/MainScene_New/NavMesh-NavMeshSufaceCar.asset
  8. BIN
      Assets/Scene/MainScene_New/NavMesh-NavMeshSufaceMan.asset
  9. 19
      Assets/Scripts/Compass.cs
  10. 11
      Assets/Scripts/Compass.cs.meta
  11. 18
      Assets/Scripts/Power/MultiSelectNAV.cs
  12. BIN
      Assets/Sky/Materials/azure[Sky].mat
  13. BIN
      Assets/UI/Common/方向标指针.png
  14. 110
      Assets/UI/Common/方向标指针.png.meta
  15. BIN
      Assets/UI/Common/方向标背景.png
  16. 110
      Assets/UI/Common/方向标背景.png.meta
  17. BIN
      ProjectSettings/ProjectSettings.asset
  18. BIN
      ProjectSettings/QualitySettings.asset

BIN
Assets/02DaLianShiYou/DaLianShiHua.prefab

Binary file not shown.

27
Assets/Plugins/SmartX1App.dll.meta

@ -17,12 +17,12 @@ PluginImporter:
enabled: 0
settings:
Exclude Editor: 1
Exclude Linux: 0
Exclude Linux64: 0
Exclude LinuxUniversal: 0
Exclude OSXUniversal: 0
Exclude Win: 0
Exclude Win64: 0
Exclude Linux: 1
Exclude Linux64: 1
Exclude LinuxUniversal: 1
Exclude OSXUniversal: 1
Exclude Win: 1
Exclude Win64: 1
- first:
Any:
second:
@ -51,36 +51,37 @@ PluginImporter:
- first:
Standalone: Linux
second:
enabled: 1
enabled: 0
settings:
CPU: x86
- first:
Standalone: Linux64
second:
enabled: 1
enabled: 0
settings:
CPU: x86_64
- first:
Standalone: LinuxUniversal
second:
enabled: 1
settings: {}
enabled: 0
settings:
CPU: None
- first:
Standalone: OSXUniversal
second:
enabled: 1
enabled: 0
settings:
CPU: AnyCPU
- first:
Standalone: Win
second:
enabled: 1
enabled: 0
settings:
CPU: AnyCPU
- first:
Standalone: Win64
second:
enabled: 1
enabled: 0
settings:
CPU: AnyCPU
userData:

BIN
Assets/Prefab/UI/Canvas.prefab

Binary file not shown.

BIN
Assets/Resources/Prefab/Diaster/FireHuge.prefab

Binary file not shown.

BIN
Assets/Resources/Prefab/Tool/NaturalWater.prefab

Binary file not shown.

BIN
Assets/Scene/MainScene_New.unity

Binary file not shown.

BIN
Assets/Scene/MainScene_New/NavMesh-NavMeshSufaceCar.asset

Binary file not shown.

BIN
Assets/Scene/MainScene_New/NavMesh-NavMeshSufaceMan.asset

Binary file not shown.

19
Assets/Scripts/Compass.cs

@ -0,0 +1,19 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Compass : MonoBehaviour
{
private float ZRotation = 0f;
public float InitialRotationAngle = 0f;
void Update()
{
if (Camera.main)
{
ZRotation = Camera.main.transform.eulerAngles.y + InitialRotationAngle;
this.transform.eulerAngles = new Vector3(0, 0, ZRotation);
}
}
}

11
Assets/Scripts/Compass.cs.meta

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: b75e45acb91f18e408cdb72e67fab429
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

18
Assets/Scripts/Power/MultiSelectNAV.cs

@ -44,14 +44,18 @@ public class MultiSelectNAV : ResourceLoadPanel<MultiSelectNAV>
var count = TargetPoint.Count;
var list = AgentController.LiSan(TargetPoint[count - 1], SelectCars.Count, new Vector3(9, 0, 9));
int indexer = 0;
//开始多选车辆的巡礼操作
SelectCars.ForEach((X) =>
if (SelectCars.Count>0&&list.Count>0)
{
TargetPoint[count - 1] = list[indexer];
X.GetComponent<AgentController>().AutoPathFinding(TargetPoint);
indexer++;
});
// TargetPoint.Clear();
//开始多选车辆的巡礼操作
SelectCars.ForEach((X) =>
{
TargetPoint[count - 1] = list[indexer];
X.GetComponent<AgentController>().AutoPathFinding(TargetPoint);
indexer++;
});
// TargetPoint.Clear();
}
}
}

BIN
Assets/Sky/Materials/azure[Sky].mat

Binary file not shown.

BIN
Assets/UI/Common/方向标指针.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

110
Assets/UI/Common/方向标指针.png.meta

@ -0,0 +1,110 @@
fileFormatVersion: 2
guid: fca79997a2870514eb1508ab65fa3169
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 9
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: -1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: affaac4548d04de4fbd3870153fd45fd
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/UI/Common/方向标背景.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

110
Assets/UI/Common/方向标背景.png.meta

@ -0,0 +1,110 @@
fileFormatVersion: 2
guid: bcfc31f262205eb4a9711305bd291dff
TextureImporter:
fileIDToRecycleName: {}
externalObjects: {}
serializedVersion: 9
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: -1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- serializedVersion: 2
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
- serializedVersion: 2
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 7aafa7a3315461243a18e331cda4da44
vertices: []
indices:
edges: []
weights: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

BIN
ProjectSettings/ProjectSettings.asset

Binary file not shown.

BIN
ProjectSettings/QualitySettings.asset

Binary file not shown.
Loading…
Cancel
Save