Compare commits

..

9 Commits

  1. 584
      Assets/CloneTypesTemplate/Editor/SceneTool.cs
  2. 17
      Assets/CloneTypesTemplate/TankArea.prefab
  3. 2
      Assets/Scenes.meta
  4. 79004
      Assets/Scenes/BuildingScene.unity
  5. 2
      Assets/Scenes/BuildingScene.unity.meta
  6. 2
      Assets/ScenesKH.meta
  7. 2
      Assets/ScenesKH/BuildingScene.meta
  8. 852
      Assets/ScenesKH/BuildingScene.unity
  9. 7
      Assets/ScenesKH/BuildingScene.unity.meta
  10. BIN
      Assets/ScenesKH/BuildingScene/NavMesh-car.asset
  11. 4
      Assets/ScenesKH/BuildingScene/NavMesh-car.asset.meta
  12. BIN
      Assets/ScenesKH/BuildingScene/NavMesh-man.asset
  13. 4
      Assets/ScenesKH/BuildingScene/NavMesh-man.asset.meta
  14. 99172
      Assets/ScenesKH/ChangJianYan.prefab
  15. 7
      Assets/ScenesKH/ChangJianYan.prefab.meta
  16. 0
      Assets/ScenesKH/Reflection Probes_CJY.prefab
  17. 2
      Assets/ScenesKH/Reflection Probes_CJY.prefab.meta
  18. 8943
      Assets/ScenesKH/link 1.prefab
  19. 7
      Assets/ScenesKH/link 1.prefab.meta
  20. 6243
      Assets/ScenesKH/link.prefab
  21. 7
      Assets/ScenesKH/link.prefab.meta
  22. 304
      Assets/ScenesPX/BuildingScene.unity
  23. 25178
      Assets/ScenesPX/MainBuilding.prefab
  24. 7
      Assets/ScenesPX/MainBuilding.prefab.meta
  25. 29
      Assets/Scripts/BaseGameObjInfo.cs
  26. 2
      Assets/Scripts/BaseGameObjInfo.cs.meta
  27. 11
      Assets/Scripts/CameraViewDataForFunArea.cs
  28. 2
      Assets/Scripts/CameraViewDataForFunArea.cs.meta
  29. 24
      Assets/Scripts/CloneGameObjInfo.cs
  30. 2
      Assets/Scripts/CloneGameObjInfo.cs.meta
  31. 307
      Assets/Scripts/CloneObjType.cs
  32. 2
      Assets/Scripts/CloneObjType.cs.meta
  33. 16
      Assets/Scripts/CloneableEnums.cs
  34. 2
      Assets/Scripts/CloneableEnums.cs.meta
  35. 20
      Assets/Scripts/EvacuatePoint.cs
  36. 2
      Assets/Scripts/EvacuatePoint.cs.meta
  37. 15
      Assets/Scripts/FloorMessage.cs
  38. 2
      Assets/Scripts/FloorMessage.cs.meta
  39. 38
      Assets/Scripts/GetAreaTargetManager.cs
  40. 2
      Assets/Scripts/GetAreaTargetManager.cs.meta
  41. 51
      Assets/Scripts/LoadShader.cs
  42. 2
      Assets/Scripts/LoadShader.cs.meta
  43. 18
      Assets/Scripts/PathFindable.cs
  44. 2
      Assets/Scripts/PathFindable.cs.meta
  45. 9
      Assets/Scripts/TeamTargetItem.cs
  46. 2
      Assets/Scripts/TeamTargetItem.cs.meta
  47. 52
      Assets/Scripts/TeamTargetManager.cs
  48. 2
      Assets/Scripts/TeamTargetManager.cs.meta
  49. 2
      Assets/Settings/GlobalVolumeProfile.asset.meta
  50. 136
      Assets/Settings/Mobile_RPAsset.asset
  51. 66
      Assets/Settings/Mobile_Renderer.asset
  52. 2
      Assets/Settings/PC_RPAsset.asset
  53. 159
      Assets/Settings/SampleSceneProfile.asset
  54. 8
      Assets/Settings/SampleSceneProfile.asset.meta
  55. 2
      Assets/Settings/WEB_RPAsset.asset.meta
  56. 2
      Assets/Settings/WEB_Renderer.asset.meta
  57. 2
      Assets/StreamingAssets/AssetBundles/KHCJY.meta
  58. BIN
      Assets/StreamingAssets/AssetBundles/KHCJY/KHCJY
  59. 4
      Assets/StreamingAssets/AssetBundles/KHCJY/KHCJY.manifest
  60. 2
      Assets/StreamingAssets/AssetBundles/KHCJY/KHCJY.manifest.meta
  61. 2
      Assets/StreamingAssets/AssetBundles/KHCJY/KHCJY.meta
  62. BIN
      Assets/StreamingAssets/AssetBundles/KHCJY/buildingscene
  63. 75
      Assets/StreamingAssets/AssetBundles/KHCJY/buildingscene.manifest
  64. 2
      Assets/StreamingAssets/AssetBundles/KHCJY/buildingscene.manifest.meta
  65. 2
      Assets/StreamingAssets/AssetBundles/KHCJY/buildingscene.meta
  66. 45
      Assets/StreamingAssets/AssetBundles/PXCJY/mainbuilding.manifest
  67. 7
      Assets/StreamingAssets/AssetBundles/PXCJY/mainbuilding.meta
  68. 2
      Assets/StreamingAssets/WebAssetBundles/KHCJY.meta
  69. BIN
      Assets/StreamingAssets/WebAssetBundles/KHCJY/KHCJY
  70. 4
      Assets/StreamingAssets/WebAssetBundles/KHCJY/KHCJY.manifest
  71. 7
      Assets/StreamingAssets/WebAssetBundles/KHCJY/KHCJY.manifest.meta
  72. 7
      Assets/StreamingAssets/WebAssetBundles/KHCJY/KHCJY.meta
  73. BIN
      Assets/StreamingAssets/WebAssetBundles/KHCJY/buildingscene
  74. 75
      Assets/StreamingAssets/WebAssetBundles/KHCJY/buildingscene.manifest
  75. 7
      Assets/StreamingAssets/WebAssetBundles/KHCJY/buildingscene.manifest.meta
  76. 7
      Assets/StreamingAssets/WebAssetBundles/KHCJY/buildingscene.meta
  77. 7
      Assets/StreamingAssets/WebAssetBundles/PXCJY/PXCJY.manifest.meta
  78. 7
      Assets/StreamingAssets/WebAssetBundles/PXCJY/PXCJY.meta
  79. 45
      Assets/StreamingAssets/WebAssetBundles/PXCJY/mainbuilding.manifest
  80. 7
      Assets/StreamingAssets/WebAssetBundles/PXCJY/mainbuilding.manifest.meta
  81. 7
      Assets/StreamingAssets/WebAssetBundles/PXCJY/mainbuilding.meta
  82. 2
      Assets/URPPublic
  83. 2
      Assets/ZhenHaiLiaHua/Materials/guan2_gai_guan_AlbedoTransparency.mat
  84. 2
      Assets/ZhenHaiLiaHua/Scenes/0Texture/CJ_DI1 1.jpg.meta
  85. 2
      Assets/ZhenHaiLiaHua/Scenes/0Texture/CJ_DI1.jpg.meta
  86. 28
      Assets/ZhenHaiLiaHua/Scenes/CJ_DI1.jpg.meta
  87. 2
      ProjectSettings/EditorBuildSettings.asset
  88. 33
      ProjectSettings/NavMeshAreas.asset
  89. 74
      ProjectSettings/TagManager.asset

584
Assets/CloneTypesTemplate/Editor/SceneTool.cs

@ -6,9 +6,104 @@ using UnityEngine.AI;
using System.IO;
using System.Text;
using System;
using Unity.AI.Navigation;
using Unity.VisualScripting;
public class SceneTool
{
[MenuItem("SceneTool/AddLayerColider")]
public static void AddLayerColider()
{
Transform[] obj = Selection.GetTransforms(SelectionMode.Deep);
{
for (int i = 0; i < obj.Length; i++)
{
if (obj[i].GetComponent<MeshRenderer>())
{
if (obj[i].gameObject.layer ==LayerMask.NameToLayer("SoldierRoad"))
{
if (!obj[i].gameObject.GetComponent<MeshCollider>())
{
obj[i].gameObject.AddComponent<MeshCollider>();
}
if (!obj[i].gameObject.GetComponent<PathFindable>())
{
obj[i].gameObject.AddComponent<PathFindable>();
}
if (!obj[i].gameObject.GetComponent<CloneableEnums>())
{
obj[i].gameObject.AddComponent<CloneableEnums>();
}
if (!obj[i].gameObject.GetComponent<CloneEnumsHelp>())
{
obj[i].gameObject.AddComponent<CloneEnumsHelp>();
}
CloneEnumsHelp cloneEnumsHelp = obj[i].gameObject.GetComponent<CloneEnumsHelp>();
cloneEnumsHelp.cloneOnFloorType = CloneOnFloorType.ShiWaiMan;
}
if (obj[i].gameObject.layer == LayerMask.NameToLayer("CarRoad"))
{
if (obj[i].gameObject.GetComponent<NavMeshModifier>())
{
if (obj[i].gameObject.GetComponent<PathFindable>())
{
UnityEngine.Object.DestroyImmediate(obj[i].GetComponent<PathFindable>(), true);
}
if (obj[i].gameObject.GetComponent<CloneEnumsHelp>())
{
UnityEngine.Object.DestroyImmediate(obj[i].GetComponent<CloneEnumsHelp>(), true);
}
if (obj[i].gameObject.GetComponent<CloneableEnums>())
{
UnityEngine.Object.DestroyImmediate(obj[i].GetComponent<CloneableEnums>(), true);
}
return;
}
if (obj[i].gameObject.GetComponent<NavMeshModifierVolume>())
{
if (obj[i].gameObject.GetComponent<PathFindable>())
{
UnityEngine.Object.DestroyImmediate(obj[i].GetComponent<PathFindable>(), true);
}
if (obj[i].gameObject.GetComponent<CloneEnumsHelp>())
{
UnityEngine.Object.DestroyImmediate(obj[i].GetComponent<CloneEnumsHelp>(), true);
}
if (obj[i].gameObject.GetComponent<CloneableEnums>())
{
UnityEngine.Object.DestroyImmediate(obj[i].GetComponent<CloneableEnums>(), true);
}
return;
}
if (!obj[i].gameObject.GetComponent<MeshCollider>())
{
obj[i].gameObject.AddComponent<MeshCollider>();
}
if (!obj[i].gameObject.GetComponent<PathFindable>())
{
obj[i].gameObject.AddComponent<PathFindable>();
}
if (!obj[i].gameObject.GetComponent<CloneableEnums>())
{
obj[i].gameObject.AddComponent<CloneableEnums>();
}
if (!obj[i].gameObject.GetComponent<CloneEnumsHelp>())
{
obj[i].gameObject.AddComponent<CloneEnumsHelp>();
}
CloneEnumsHelp cloneEnumsHelp = obj[i].gameObject.GetComponent<CloneEnumsHelp>();
cloneEnumsHelp.cloneOnFloorType = CloneOnFloorType.ShiWaiCar;
}
}
}
}
}
[MenuItem("SceneTool/RemoveColider")]//移除碰撞器
public static void RemoveColider()
{
@ -26,16 +121,410 @@ public class SceneTool
}
}
}
[MenuItem("SceneTool/AddColider")]//移除碰撞器
public static void AddColider()
[MenuItem("SceneTool/SetshineiXHS")]//设置室内消火栓属性
public static void SetSNXHS()
{
Transform[] obj = Selection.GetTransforms(SelectionMode.Deep);
for (int i = 0; i < obj.Length; i++)
{
if (obj[i].name.ToLower().Contains("xhs") &&
!obj[i].name.ToLower().Contains("xhs_name") &&
obj[i].GetComponent<MeshRenderer>())
{
if (!obj[i].gameObject.GetComponent<BoxCollider>())
{
obj[i].gameObject.AddComponent<BoxCollider>();
}
if (!obj[i].gameObject.GetComponent<CloneGameObjInfo>())
{
obj[i].gameObject.AddComponent<CloneGameObjInfo>();
}
obj[i].gameObject.GetComponent<CloneGameObjInfo>().gameObjType = CloneObjType.IndoorFireHydrant;
if (!obj[i].gameObject.GetComponent<InDoorHydrantMessage>())
{
obj[i].gameObject.AddComponent<InDoorHydrantMessage>();
}
if (!obj[i].gameObject.GetComponent<WaterSource>())
{
obj[i].gameObject.AddComponent<WaterSource>();
}
if (obj[i].gameObject.GetComponent<CloneGameObjInfo>().gameObjID == 0)
{
long staticGameObjId = (long)GUID.NewGuid(1, 1);
obj[i].gameObject.GetComponent<CloneGameObjInfo>().SetGameObjID(staticGameObjId);
}
if (!obj[i].gameObject.GetComponent<CloneableEnums>())
{
obj[i].gameObject.AddComponent<CloneableEnums>();
}
if (!obj[i].gameObject.GetComponent<CloneEnumsHelp>())
{
obj[i].gameObject.AddComponent<CloneEnumsHelp>();
}
CloneEnumsHelp cloneEnumsHelp = obj[i].gameObject.GetComponent<CloneEnumsHelp>();
cloneEnumsHelp.cloneOnFloorType = CloneOnFloorType.ShiNeiXHS;
if (obj[i].GetComponentInParent<FloorMessage>())
{
FloorMessage fmg = obj[i].GetComponentInParent<FloorMessage>();
obj[i].gameObject.GetComponent<CloneGameObjInfo>().buildNum = fmg.buildNum;
obj[i].gameObject.GetComponent<CloneGameObjInfo>().floorNum = fmg.floorNum;
obj[i].gameObject.GetComponent<CloneGameObjInfo>().interlayerNum = fmg.interlayerNum;
}
}
}
}
[MenuItem("SceneTool/DiXiaLouDing/CheNengZou")]//地面的楼顶(车能走),常见为地下建筑上的公路
public static void DiXiaLouDingCheNengZou()
{
Transform[] obj = Selection.GetTransforms(SelectionMode.Unfiltered);
{
for (int i = 0; i < obj.Length; i++)
{
if (obj[i].GetComponent<MeshRenderer>())
{
obj[i].gameObject.layer = LayerMask.NameToLayer("CarRoad");
if (!obj[i].gameObject.GetComponent<MeshCollider>())
{
obj[i].gameObject.AddComponent<MeshCollider>();
}
if (!obj[i].gameObject.GetComponent<PathFindable>())
{
obj[i].gameObject.AddComponent<PathFindable>();
}
if (!obj[i].gameObject.GetComponent<CloneGameObjInfo>())
{
obj[i].gameObject.AddComponent<CloneGameObjInfo>();
}
if (!obj[i].gameObject.GetComponent<CloneableEnums>())
{
obj[i].gameObject.AddComponent<CloneableEnums>();
}
if (!obj[i].gameObject.GetComponent<CloneEnumsHelp>())
{
obj[i].gameObject.AddComponent<CloneEnumsHelp>();
}
CloneEnumsHelp cloneEnumsHelp = obj[i].gameObject.GetComponent<CloneEnumsHelp>();
cloneEnumsHelp.cloneOnFloorType = CloneOnFloorType.ShiWaiCar;
if (obj[i].GetComponentInParent<FloorMessage>())
{
FloorMessage fmg = obj[i].GetComponentInParent<FloorMessage>();
obj[i].gameObject.GetComponent<CloneGameObjInfo>().gameObjType = CloneObjType.StaticGameObject;
obj[i].gameObject.GetComponent<CloneGameObjInfo>().buildNum = fmg.buildNum;
obj[i].gameObject.GetComponent<CloneGameObjInfo>().floorNum = fmg.floorNum;
obj[i].gameObject.GetComponent<CloneGameObjInfo>().interlayerNum = fmg.interlayerNum;
obj[i].gameObject.GetComponent<CloneGameObjInfo>().SpecialTag = "楼顶";
}
}
}
}
}
[MenuItem("SceneTool/DiXiaLouDing/RenNengZou")]//地面的楼顶(人能走),常见为地下建筑上的小路
public static void DiXiaLouDingRenNengZou()
{
Transform[] obj = Selection.GetTransforms(SelectionMode.Unfiltered);
{
for (int i = 0; i < obj.Length; i++)
{
if (obj[i].GetComponent<MeshRenderer>())
{
obj[i].gameObject.layer = LayerMask.NameToLayer("SoldierRoad");
if (!obj[i].gameObject.GetComponent<MeshCollider>())
{
obj[i].gameObject.AddComponent<MeshCollider>();
}
if (!obj[i].gameObject.GetComponent<PathFindable>())
{
obj[i].gameObject.AddComponent<PathFindable>();
}
if (!obj[i].gameObject.GetComponent<CloneGameObjInfo>())
{
obj[i].gameObject.AddComponent<CloneGameObjInfo>();
}
if (!obj[i].gameObject.GetComponent<CloneableEnums>())
{
obj[i].gameObject.AddComponent<CloneableEnums>();
}
if (!obj[i].gameObject.GetComponent<CloneEnumsHelp>())
{
obj[i].gameObject.AddComponent<CloneEnumsHelp>();
}
CloneEnumsHelp cloneEnumsHelp = obj[i].gameObject.GetComponent<CloneEnumsHelp>();
cloneEnumsHelp.cloneOnFloorType = CloneOnFloorType.ShiWaiMan;
if (obj[i].GetComponentInParent<FloorMessage>())
{
FloorMessage fmg = obj[i].GetComponentInParent<FloorMessage>();
obj[i].gameObject.GetComponent<CloneGameObjInfo>().gameObjType = CloneObjType.StaticGameObject;
obj[i].gameObject.GetComponent<CloneGameObjInfo>().buildNum = fmg.buildNum;
obj[i].gameObject.GetComponent<CloneGameObjInfo>().floorNum = fmg.floorNum;
obj[i].gameObject.GetComponent<CloneGameObjInfo>().interlayerNum = fmg.interlayerNum;
obj[i].gameObject.GetComponent<CloneGameObjInfo>().SpecialTag = "楼顶";
}
}
}
}
}
[MenuItem("SceneTool/DiXiaLouDing/DouBuZou")]//地面的楼顶(都不能走),常见为地下建筑上的花坛
public static void DiXiaLouDingDouBuZou()
{
Transform[] obj = Selection.GetTransforms(SelectionMode.Unfiltered);
{
for (int i = 0; i < obj.Length; i++)
{
if (obj[i].GetComponent<MeshRenderer>())
{
obj[i].gameObject.layer = LayerMask.NameToLayer("CarRoad");
if (!obj[i].gameObject.GetComponent<NavMeshModifier>())
{
obj[i].gameObject.AddComponent<NavMeshModifier>();
}
NavMeshModifier mod = obj[i].gameObject.GetComponent<NavMeshModifier>();
mod.overrideArea = true;
mod.area = 1;
}
}
}
}
[MenuItem("SceneTool/CheckEmpty")]
public static void CheckEmpty()
{
Transform[] obj = Selection.GetTransforms(SelectionMode.Deep);
{
for (int i = 0; i < obj.Length; i++)
{
if (obj[i].GetComponent<CloneableEnums>() && obj[i].gameObject.GetComponent<CloneableEnums>().CloneableTypes.Count > 0)
{
if (!obj[i].GetComponent<CloneEnumsHelp>())
{
Debug.Log(obj[i].name);
}
}
if (obj[i].GetComponent<CloneEnumsHelp>())
{
if (obj[i].GetComponent<CloneEnumsHelp>().cloneOnFloorType < CloneOnFloorType.ShiWaiCar ||
obj[i].GetComponent<CloneEnumsHelp>().cloneOnFloorType > CloneOnFloorType.GuanQuDiMian)
{
Debug.Log(obj[i].name);
}
}
}
}
}
[MenuItem("SceneTool/PuTongLouDing/RenNengZou")]//普通的楼顶(人能走),常见为地上建筑的楼顶地板
public static void PuTongLouDingRenNengZou()
{
Transform[] obj = Selection.GetTransforms(SelectionMode.Unfiltered);
{
for (int i = 0; i < obj.Length; i++)
{
if (obj[i].GetComponent<MeshRenderer>())
{
obj[i].gameObject.layer = LayerMask.NameToLayer("SoldierRoad");
if (!obj[i].gameObject.GetComponent<MeshCollider>())
{
obj[i].gameObject.AddComponent<MeshCollider>();
}
if (!obj[i].gameObject.GetComponent<PathFindable>())
{
obj[i].gameObject.AddComponent<PathFindable>();
}
if (!obj[i].gameObject.GetComponent<CloneGameObjInfo>())
{
obj[i].gameObject.AddComponent<CloneGameObjInfo>();
}
if (!obj[i].gameObject.GetComponent<CloneableEnums>())
{
obj[i].gameObject.AddComponent<CloneableEnums>();
}
if (!obj[i].gameObject.GetComponent<CloneEnumsHelp>())
{
obj[i].gameObject.AddComponent<CloneEnumsHelp>();
}
CloneEnumsHelp cloneEnumsHelp = obj[i].gameObject.GetComponent<CloneEnumsHelp>();
cloneEnumsHelp.cloneOnFloorType = CloneOnFloorType.LouDing;
if (obj[i].GetComponentInParent<FloorMessage>())
{
FloorMessage fmg = obj[i].GetComponentInParent<FloorMessage>();
obj[i].gameObject.GetComponent<CloneGameObjInfo>().gameObjType = CloneObjType.StaticGameObject;
obj[i].gameObject.GetComponent<CloneGameObjInfo>().buildNum = fmg.buildNum;
obj[i].gameObject.GetComponent<CloneGameObjInfo>().floorNum = fmg.floorNum;
obj[i].gameObject.GetComponent<CloneGameObjInfo>().interlayerNum = fmg.interlayerNum;
obj[i].gameObject.GetComponent<CloneGameObjInfo>().SpecialTag = "楼顶";
}
}
}
}
}
[MenuItem("SceneTool/PuTongLouDing/DouBuZou")]//普通的楼顶(都不能走)
public static void PuTongLouDingDouBuZou()
{
Transform[] obj = Selection.GetTransforms(SelectionMode.Unfiltered);
{
for (int i = 0; i < obj.Length; i++)
{
if (obj[i].GetComponent<MeshRenderer>())
{
obj[i].gameObject.layer = LayerMask.NameToLayer("SoldierRoad");
if (!obj[i].gameObject.GetComponent<NavMeshModifier>())
{
obj[i].gameObject.AddComponent<NavMeshModifier>();
}
NavMeshModifier mod = obj[i].gameObject.GetComponent<NavMeshModifier>();
mod.overrideArea = true;
mod.area = 1;
}
}
}
}
[MenuItem("SceneTool/ShiWai/CheNengZou")]//地面(车能走),常见为公路
public static void ShiWaiCheNengZou()
{
Transform[] obj = Selection.GetTransforms(SelectionMode.Unfiltered);
{
for (int i = 0; i < obj.Length; i++)
{
if (obj[i].GetComponent<MeshRenderer>())
{
obj[i].gameObject.layer = LayerMask.NameToLayer("CarRoad");
if (!obj[i].gameObject.GetComponent<MeshCollider>())
{
obj[i].gameObject.AddComponent<MeshCollider>();
}
if (!obj[i].gameObject.GetComponent<PathFindable>())
{
obj[i].gameObject.AddComponent<PathFindable>();
}
if (!obj[i].gameObject.GetComponent<CloneableEnums>())
{
obj[i].gameObject.AddComponent<CloneableEnums>();
}
if (!obj[i].gameObject.GetComponent<CloneEnumsHelp>())
{
obj[i].gameObject.AddComponent<CloneEnumsHelp>();
}
CloneEnumsHelp cloneEnumsHelp = obj[i].gameObject.GetComponent<CloneEnumsHelp>();
cloneEnumsHelp.cloneOnFloorType = CloneOnFloorType.ShiWaiCar;
}
}
}
}
[MenuItem("SceneTool/ShiWai/RenNengZou")]//地面(人能走),常见为小路
public static void ShiWaiRenNengZou()
{
Transform[] obj = Selection.GetTransforms(SelectionMode.Unfiltered);
{
for (int i = 0; i < obj.Length; i++)
{
if (obj[i].GetComponent<MeshRenderer>())
{
obj[i].gameObject.layer = LayerMask.NameToLayer("SoldierRoad");
if (!obj[i].gameObject.GetComponent<MeshCollider>())
{
obj[i].gameObject.AddComponent<MeshCollider>();
}
if (!obj[i].gameObject.GetComponent<PathFindable>())
{
obj[i].gameObject.AddComponent<PathFindable>();
}
if (!obj[i].gameObject.GetComponent<CloneableEnums>())
{
obj[i].gameObject.AddComponent<CloneableEnums>();
}
if (!obj[i].gameObject.GetComponent<CloneEnumsHelp>())
{
obj[i].gameObject.AddComponent<CloneEnumsHelp>();
}
CloneEnumsHelp cloneEnumsHelp = obj[i].gameObject.GetComponent<CloneEnumsHelp>();
cloneEnumsHelp.cloneOnFloorType = CloneOnFloorType.ShiWaiMan;
}
}
}
}
[MenuItem("SceneTool/ShiWai/DouBuZou")]//地面(都不能走),常见为花坛
public static void ShiWaiDouBuZou()
{
Transform[] obj = Selection.GetTransforms(SelectionMode.Unfiltered);
{
for (int i = 0; i < obj.Length; i++)
{
if (obj[i].GetComponent<MeshRenderer>())
{
obj[i].gameObject.layer = LayerMask.NameToLayer("CarRoad");
if (!obj[i].gameObject.GetComponent<NavMeshModifier>())
{
obj[i].gameObject.AddComponent<NavMeshModifier>();
}
NavMeshModifier mod = obj[i].gameObject.GetComponent<NavMeshModifier>();
mod.overrideArea = true;
mod.area = 1;
}
}
}
}
[MenuItem("SceneTool/TeShu/YouGuanDing")]//油罐顶
public static void YouGuanDing()
{
Transform[] obj = Selection.GetTransforms(SelectionMode.Unfiltered);
{
for (int i = 0; i < obj.Length; i++)
{
if (obj[i].GetComponent<MeshRenderer>())
{
if (!obj[i].gameObject.GetComponent<MeshCollider>())
{
obj[i].gameObject.AddComponent<MeshCollider>();
}
if (!obj[i].gameObject.GetComponent<CloneableEnums>())
{
obj[i].gameObject.AddComponent<CloneableEnums>();
}
if (!obj[i].gameObject.GetComponent<CloneEnumsHelp>())
{
obj[i].gameObject.AddComponent<CloneEnumsHelp>();
}
CloneEnumsHelp cloneEnumsHelp = obj[i].gameObject.GetComponent<CloneEnumsHelp>();
cloneEnumsHelp.cloneOnFloorType = CloneOnFloorType.YouGuanDing;
}
}
}
}
[MenuItem("SceneTool/TeShu/YouGuanBi")]//油罐壁
public static void YouGuanBi()
{
Transform[] obj = Selection.GetTransforms(SelectionMode.Unfiltered);
{
for (int i = 0; i < obj.Length; i++)
{
if (obj[i].GetComponent<MeshRenderer>())
{
if (!obj[i].GetComponent<MeshCollider>())
if (!obj[i].gameObject.GetComponent<MeshCollider>())
{
obj[i].gameObject.AddComponent<MeshCollider>();
}
if (!obj[i].gameObject.GetComponent<CloneableEnums>())
{
obj[i].gameObject.AddComponent<CloneableEnums>();
}
if (!obj[i].gameObject.GetComponent<CloneEnumsHelp>())
{
obj[i].gameObject.AddComponent<CloneEnumsHelp>();
}
CloneEnumsHelp cloneEnumsHelp = obj[i].gameObject.GetComponent<CloneEnumsHelp>();
cloneEnumsHelp.cloneOnFloorType = CloneOnFloorType.YouGuanBi;
}
}
}
}
[MenuItem("SceneTool/AddColider")]
public static void AddColider()
{
Transform[] obj = Selection.GetTransforms(SelectionMode.Unfiltered);
{
for (int i = 0; i < obj.Length; i++)
{
if (obj[i].GetComponent<NavMeshModifier>())
{
if (!obj[i].gameObject.GetComponent<MeshCollider>())
{
obj[i].gameObject.AddComponent<MeshCollider>();
}
@ -43,4 +532,93 @@ public class SceneTool
}
}
}
[MenuItem("SceneTool/TeShu/WeiXianPinYunShuChe")]//危险运输车
public static void WeiXianPinYunShuChe()
{
Transform[] obj = Selection.GetTransforms(SelectionMode.Unfiltered);
{
for (int i = 0; i < obj.Length; i++)
{
if (obj[i].GetComponent<MeshRenderer>())
{
if (!obj[i].gameObject.GetComponent<MeshCollider>())
{
obj[i].gameObject.AddComponent<MeshCollider>();
}
if (!obj[i].gameObject.GetComponent<CloneableEnums>())
{
obj[i].gameObject.AddComponent<CloneableEnums>();
}
if (!obj[i].gameObject.GetComponent<CloneEnumsHelp>())
{
obj[i].gameObject.AddComponent<CloneEnumsHelp>();
}
CloneEnumsHelp cloneEnumsHelp = obj[i].gameObject.GetComponent<CloneEnumsHelp>();
cloneEnumsHelp.cloneOnFloorType = CloneOnFloorType.WeiXianPinYunShuChe;
}
}
}
}
[MenuItem("SceneTool/AddNewScripts")]//优化增加新的脚本
public static void AddNewScripts()
{
Transform[] obj = Selection.GetTransforms(SelectionMode.Deep);
for (int i = 0; i < obj.Length; i++)
{
if (obj[i].gameObject.activeInHierarchy && obj[i].gameObject.GetComponent<CloneableEnums>() && obj[i].gameObject.GetComponent<CloneableEnums>().CloneableTypes.Count > 0)
{
if (!obj[i].gameObject.GetComponent<CloneEnumsHelp>())
{
obj[i].gameObject.AddComponent<CloneEnumsHelp>();
}
var count = obj[i].GetComponent<CloneableEnums>().CloneableTypes.Count;
if (count == 80)// 室外车能走
{
obj[i].gameObject.GetComponent<CloneEnumsHelp>().cloneOnFloorType = CloneOnFloorType.ShiWaiCar;
}
else if (count == 35 && hasParentByName(obj[i].gameObject, "shinei"))// 室内人能走
{
obj[i].gameObject.GetComponent<CloneEnumsHelp>().cloneOnFloorType = CloneOnFloorType.ShiNeiMan;
}
else if (count == 35 && hasParentByName(obj[i].gameObject, "shiwai"))// 楼顶
{
obj[i].gameObject.GetComponent<CloneEnumsHelp>().cloneOnFloorType = CloneOnFloorType.LouDing;
}
else if (count == 47)// 室外人能走
{
obj[i].gameObject.GetComponent<CloneEnumsHelp>().cloneOnFloorType = CloneOnFloorType.ShiWaiMan;
}
else if (count == 35 && !obj[i].gameObject.GetComponent<CloneGameObjInfo>())// 室外人
{
obj[i].gameObject.GetComponent<CloneEnumsHelp>().cloneOnFloorType = CloneOnFloorType.ShiWaiMan;
}
else if (count == 35 && obj[i].gameObject.GetComponent<CloneGameObjInfo>())// 室内人
{
obj[i].gameObject.GetComponent<CloneEnumsHelp>().cloneOnFloorType = CloneOnFloorType.ShiNeiMan;
}
else
{
Debug.Log("警告,有对象没有绑定上脚本" + obj[i].name);
}
}
}
}
private static bool hasParentByName(GameObject gameObject, string parentName)
{
if (gameObject.transform.parent)
{
if (gameObject.transform.parent.name == parentName)
{
return true;
}
else
{
return hasParentByName(gameObject.transform.parent.gameObject, parentName);
}
}
else
{
return false;
}
}
}

17
Assets/CloneTypesTemplate/TankArea.prefab

@ -9,7 +9,6 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 162101736955425362}
- component: {fileID: 1169397458549512360}
m_Layer: 0
m_Name: TankAreaName
m_TagString: Untagged
@ -32,22 +31,6 @@ Transform:
m_Children: []
m_Father: {fileID: 7345107486260537908}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1169397458549512360
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7405839689150574781}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c6c3bcee76738264da0b700ac7402719, type: 3}
m_Name:
m_EditorClassIdentifier:
TargetPos: {x: 201.5, y: 0, z: 113}
CameraX: 84
CameraY: 15
Distance: 245
--- !u!1 &7806473562047182751
GameObject:
m_ObjectHideFlags: 0

2
Assets/Scenes.meta

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 1d8ac53bfe2499a47b73b4f5ab6ff30c
guid: cab01ed7edf02eb4c9d9babb0fe32d86
folderAsset: yes
DefaultImporter:
externalObjects: {}

79004
Assets/Scenes/BuildingScene.unity

File diff suppressed because it is too large Load Diff

2
Assets/Scenes/BuildingScene.unity.meta

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: c7c638e8ec85dc441b6b57155c339ba7
guid: ed3169e75fd4c2f458f89c3387b80f45
DefaultImporter:
externalObjects: {}
userData:

2
Assets/ScenesPX.meta → Assets/ScenesKH.meta

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 5d0d4f9087ad28341bef8931b98821d2
guid: 71cd17f1958340e40b1e9629073a429f
folderAsset: yes
DefaultImporter:
externalObjects: {}

2
Assets/Scripts.meta → Assets/ScenesKH/BuildingScene.meta

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 854ba888884ba464b99d197add7636a0
guid: 374e0f8420e498645bd670d4ac1ad8e7
folderAsset: yes
DefaultImporter:
externalObjects: {}

852
Assets/ScenesKH/BuildingScene.unity

@ -0,0 +1,852 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
OcclusionCullingSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_OcclusionBakeSettings:
smallestOccluder: 5
smallestHole: 0.25
backfaceThreshold: 100
m_SceneGUID: 00000000000000000000000000000000
m_OcclusionCullingData: {fileID: 0}
--- !u!104 &2
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 10
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
m_FogDensity: 0.01
m_LinearFogStart: 0
m_LinearFogEnd: 300
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 0
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
m_SkyboxMaterial: {fileID: 2100000, guid: 4e094c1b3935c48498317958bcb3eee0, type: 2}
m_HaloStrength: 0.5
m_FlareStrength: 1
m_FlareFadeSpeed: 3
m_HaloTexture: {fileID: 0}
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
m_DefaultReflectionMode: 0
m_DefaultReflectionResolution: 128
m_ReflectionBounces: 1
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 12
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
m_IndirectOutputScale: 1
m_AlbedoBoost: 1
m_EnvironmentLightingMode: 0
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
serializedVersion: 12
m_Resolution: 2
m_BakeResolution: 40
m_AtlasSize: 1024
m_AO: 0
m_AOMaxDistance: 1
m_CompAOExponent: 1
m_CompAOExponentDirect: 0
m_ExtractAmbientOcclusion: 0
m_Padding: 2
m_LightmapParameters: {fileID: 0}
m_LightmapsBakeMode: 1
m_TextureCompression: 1
m_ReflectionCompression: 2
m_MixedBakeMode: 2
m_BakeBackend: 1
m_PVRSampling: 1
m_PVRDirectSampleCount: 32
m_PVRSampleCount: 512
m_PVRBounces: 2
m_PVREnvironmentSampleCount: 256
m_PVREnvironmentReferencePointCount: 2048
m_PVRFilteringMode: 1
m_PVRDenoiserTypeDirect: 1
m_PVRDenoiserTypeIndirect: 1
m_PVRDenoiserTypeAO: 1
m_PVRFilterTypeDirect: 0
m_PVRFilterTypeIndirect: 0
m_PVRFilterTypeAO: 0
m_PVREnvironmentMIS: 1
m_PVRCulling: 1
m_PVRFilteringGaussRadiusDirect: 1
m_PVRFilteringGaussRadiusIndirect: 5
m_PVRFilteringGaussRadiusAO: 2
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
m_PVRFilteringAtrousPositionSigmaIndirect: 2
m_PVRFilteringAtrousPositionSigmaAO: 1
m_ExportTrainingData: 0
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 20201, guid: 0000000000000000f000000000000000, type: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: fccb15998aa85b441b8811d1e641e7ff, type: 2}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
m_ObjectHideFlags: 0
m_BuildSettings:
serializedVersion: 3
agentTypeID: 0
agentRadius: 0.5
agentHeight: 2
agentSlope: 45
agentClimb: 0.4
ledgeDropHeight: 0
maxJumpAcrossDistance: 0
minRegionArea: 2
manualCellSize: 0
cellSize: 0.16666667
manualTileSize: 0
tileSize: 256
buildHeightMesh: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &277491050
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 277491051}
- component: {fileID: 277491054}
- component: {fileID: 277491053}
- component: {fileID: 277491052}
m_Layer: 0
m_Name: Cube (1)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &277491051
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 277491050}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -1797.43, y: 6.711, z: -2483.15}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1874721962}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &277491052
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 277491050}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d00f7578dda0a1c41b151766a6426479, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!23 &277491053
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 277491050}
m_Enabled: 0
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RayTracingAccelStructBuildFlagsOverride: 0
m_RayTracingAccelStructBuildFlags: 1
m_SmallMeshCulling: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &277491054
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 277491050}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1 &321718139
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 321718140}
- component: {fileID: 321718143}
- component: {fileID: 321718142}
- component: {fileID: 321718141}
m_Layer: 0
m_Name: Cube
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &321718140
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 321718139}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -1799.74, y: 6.711, z: -2209.23}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1874721962}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &321718141
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 321718139}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d00f7578dda0a1c41b151766a6426479, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!23 &321718142
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 321718139}
m_Enabled: 0
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RayTracingAccelStructBuildFlagsOverride: 0
m_RayTracingAccelStructBuildFlags: 1
m_SmallMeshCulling: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &321718143
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 321718139}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1 &334887171
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 334887173}
- component: {fileID: 334887172}
m_Layer: 0
m_Name: car
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &334887172
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 334887171}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 7a5ac11cc976e418e8d13136b07e1f52, type: 3}
m_Name:
m_EditorClassIdentifier:
m_SerializedVersion: 0
m_AgentTypeID: -1372625422
m_CollectObjects: 0
m_Size: {x: 500, y: 200, z: 800}
m_Center: {x: 0, y: 2, z: 0}
m_LayerMask:
serializedVersion: 2
m_Bits: 32768
m_UseGeometry: 0
m_DefaultArea: 0
m_GenerateLinks: 0
m_IgnoreNavMeshAgent: 1
m_IgnoreNavMeshObstacle: 1
m_OverrideTileSize: 0
m_TileSize: 256
m_OverrideVoxelSize: 0
m_VoxelSize: 0.1
m_MinRegionArea: 2
m_NavMeshData: {fileID: 23800000, guid: 9a828abd1804b074f8c26823b0e26f1b, type: 2}
m_BuildHeightMesh: 0
--- !u!4 &334887173
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 334887171}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -16.572496, y: -0.50392467, z: 8.018301}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &524783975
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 524783977}
- component: {fileID: 524783976}
m_Layer: 0
m_Name: man
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &524783976
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 524783975}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 7a5ac11cc976e418e8d13136b07e1f52, type: 3}
m_Name:
m_EditorClassIdentifier:
m_SerializedVersion: 0
m_AgentTypeID: 0
m_CollectObjects: 1
m_Size: {x: 500, y: 200, z: 800}
m_Center: {x: 0, y: 2, z: 0}
m_LayerMask:
serializedVersion: 2
m_Bits: 98304
m_UseGeometry: 0
m_DefaultArea: 0
m_GenerateLinks: 0
m_IgnoreNavMeshAgent: 1
m_IgnoreNavMeshObstacle: 1
m_OverrideTileSize: 0
m_TileSize: 256
m_OverrideVoxelSize: 0
m_VoxelSize: 0.033333335
m_MinRegionArea: 2
m_NavMeshData: {fileID: 23800000, guid: 94a204d4c6cbc9943a164fa1163cb035, type: 2}
m_BuildHeightMesh: 0
--- !u!4 &524783977
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 524783975}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -1738.4, y: -0.50392467, z: -2321.7}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &576562002
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 576562003}
- component: {fileID: 576562006}
- component: {fileID: 576562005}
- component: {fileID: 576562004}
m_Layer: 0
m_Name: Cube (2)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &576562003
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 576562002}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -1664.38, y: 6.711, z: -2484.9}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1874721962}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &576562004
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 576562002}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d00f7578dda0a1c41b151766a6426479, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!23 &576562005
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 576562002}
m_Enabled: 0
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RayTracingAccelStructBuildFlagsOverride: 0
m_RayTracingAccelStructBuildFlags: 1
m_SmallMeshCulling: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &576562006
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 576562002}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1 &1484449494
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1484449496}
- component: {fileID: 1484449495}
m_Layer: 0
m_Name: GetAreaTargetManager
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1484449495
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1484449494}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ad1ddb7b6b473ac4ea26f44aea624e2b, type: 3}
m_Name:
m_EditorClassIdentifier:
cameraInitPos: {x: 0, y: 0, z: 0}
initDis: 0
init_X: 0
init_Y: 0
children: []
--- !u!4 &1484449496
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1484449494}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -16.572496, y: -0.50392467, z: 8.018301}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1808933899
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1808933900}
- component: {fileID: 1808933903}
- component: {fileID: 1808933902}
- component: {fileID: 1808933901}
m_Layer: 0
m_Name: Cube (3)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1808933900
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1808933899}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -1667.8, y: 6.711, z: -2209.74}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1874721962}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1808933901
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1808933899}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d00f7578dda0a1c41b151766a6426479, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!23 &1808933902
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1808933899}
m_Enabled: 0
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RayTracingAccelStructBuildFlagsOverride: 0
m_RayTracingAccelStructBuildFlags: 1
m_SmallMeshCulling: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &1808933903
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1808933899}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1 &1874721961
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1874721962}
m_Layer: 0
m_Name: EvacuateParent
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1874721962
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1874721961}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 321718140}
- {fileID: 277491051}
- {fileID: 576562003}
- {fileID: 1808933900}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1138599048570982470
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 2673007443976958750, guid: b06c2ef74bde8f64b97f136251081fdd, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2673007443976958750, guid: b06c2ef74bde8f64b97f136251081fdd, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2673007443976958750, guid: b06c2ef74bde8f64b97f136251081fdd, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2673007443976958750, guid: b06c2ef74bde8f64b97f136251081fdd, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2673007443976958750, guid: b06c2ef74bde8f64b97f136251081fdd, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2673007443976958750, guid: b06c2ef74bde8f64b97f136251081fdd, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2673007443976958750, guid: b06c2ef74bde8f64b97f136251081fdd, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2673007443976958750, guid: b06c2ef74bde8f64b97f136251081fdd, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2673007443976958750, guid: b06c2ef74bde8f64b97f136251081fdd, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2673007443976958750, guid: b06c2ef74bde8f64b97f136251081fdd, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6772606895780536552, guid: b06c2ef74bde8f64b97f136251081fdd, type: 3}
propertyPath: m_Name
value: ChangJianYan
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: b06c2ef74bde8f64b97f136251081fdd, type: 3}
--- !u!1001 &4172441227306815893
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 6324221344814500698, guid: 6e8a69ecb9ceed545a633785bdca258b, type: 3}
propertyPath: m_LocalPosition.x
value: -1714
objectReference: {fileID: 0}
- target: {fileID: 6324221344814500698, guid: 6e8a69ecb9ceed545a633785bdca258b, type: 3}
propertyPath: m_LocalPosition.y
value: -27.357471
objectReference: {fileID: 0}
- target: {fileID: 6324221344814500698, guid: 6e8a69ecb9ceed545a633785bdca258b, type: 3}
propertyPath: m_LocalPosition.z
value: -2486
objectReference: {fileID: 0}
- target: {fileID: 6324221344814500698, guid: 6e8a69ecb9ceed545a633785bdca258b, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6324221344814500698, guid: 6e8a69ecb9ceed545a633785bdca258b, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6324221344814500698, guid: 6e8a69ecb9ceed545a633785bdca258b, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6324221344814500698, guid: 6e8a69ecb9ceed545a633785bdca258b, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 6324221344814500698, guid: 6e8a69ecb9ceed545a633785bdca258b, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6324221344814500698, guid: 6e8a69ecb9ceed545a633785bdca258b, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6324221344814500698, guid: 6e8a69ecb9ceed545a633785bdca258b, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6881706117752736938, guid: 6e8a69ecb9ceed545a633785bdca258b, type: 3}
propertyPath: m_Name
value: link
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 6e8a69ecb9ceed545a633785bdca258b, type: 3}
--- !u!1660057539 &9223372036854775807
SceneRoots:
m_ObjectHideFlags: 0
m_Roots:
- {fileID: 1138599048570982470}
- {fileID: 524783977}
- {fileID: 334887173}
- {fileID: 1874721962}
- {fileID: 1484449496}
- {fileID: 4172441227306815893}

7
Assets/ScenesKH/BuildingScene.unity.meta

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 8c8217980dfeee1439f94e17db395ab9
DefaultImporter:
externalObjects: {}
userData:
assetBundleName: buildingscene
assetBundleVariant:

BIN
Assets/ScenesKH/BuildingScene/NavMesh-car.asset

Binary file not shown.

4
Assets/Settings/Mobile_RPAsset.asset.meta → Assets/ScenesKH/BuildingScene/NavMesh-car.asset.meta

@ -1,8 +1,8 @@
fileFormatVersion: 2
guid: 3929d87de6f48ae4fa9e6ee295e42121
guid: 9a828abd1804b074f8c26823b0e26f1b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
mainObjectFileID: 23800000
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/ScenesKH/BuildingScene/NavMesh-man.asset

Binary file not shown.

4
Assets/Settings/Mobile_Renderer.asset.meta → Assets/ScenesKH/BuildingScene/NavMesh-man.asset.meta

@ -1,8 +1,8 @@
fileFormatVersion: 2
guid: a1b397b644d7e3543966dfb3e21fc877
guid: 94a204d4c6cbc9943a164fa1163cb035
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
mainObjectFileID: 23800000
userData:
assetBundleName:
assetBundleVariant:

99172
Assets/ScenesKH/ChangJianYan.prefab

File diff suppressed because it is too large Load Diff

7
Assets/ScenesKH/ChangJianYan.prefab.meta

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: b06c2ef74bde8f64b97f136251081fdd
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

0
Assets/ScenesPX/Reflection Probes_CJY.prefab → Assets/ScenesKH/Reflection Probes_CJY.prefab

2
Assets/ScenesPX/Reflection Probes_CJY.prefab.meta → Assets/ScenesKH/Reflection Probes_CJY.prefab.meta

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 513bd60a6f570734c9cc397af8990033
guid: 30cbcbd8baa7b0c4f9c424810d5aef39
PrefabImporter:
externalObjects: {}
userData:

8943
Assets/ScenesKH/link 1.prefab

File diff suppressed because it is too large Load Diff

7
Assets/ScenesKH/link 1.prefab.meta

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6e8a69ecb9ceed545a633785bdca258b
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

6243
Assets/ScenesKH/link.prefab

File diff suppressed because it is too large Load Diff

7
Assets/ScenesKH/link.prefab.meta

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6f674c9a513e399409bfc54486055f84
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

304
Assets/ScenesPX/BuildingScene.unity

@ -1,304 +0,0 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
OcclusionCullingSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_OcclusionBakeSettings:
smallestOccluder: 5
smallestHole: 0.25
backfaceThreshold: 100
m_SceneGUID: 00000000000000000000000000000000
m_OcclusionCullingData: {fileID: 0}
--- !u!104 &2
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 10
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
m_FogDensity: 0.01
m_LinearFogStart: 0
m_LinearFogEnd: 300
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 0
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
m_SkyboxMaterial: {fileID: 2100000, guid: 4e094c1b3935c48498317958bcb3eee0, type: 2}
m_HaloStrength: 0.5
m_FlareStrength: 1
m_FlareFadeSpeed: 3
m_HaloTexture: {fileID: 0}
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
m_DefaultReflectionMode: 0
m_DefaultReflectionResolution: 128
m_ReflectionBounces: 1
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 12
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
m_IndirectOutputScale: 1
m_AlbedoBoost: 1
m_EnvironmentLightingMode: 0
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
serializedVersion: 12
m_Resolution: 2
m_BakeResolution: 40
m_AtlasSize: 1024
m_AO: 0
m_AOMaxDistance: 1
m_CompAOExponent: 1
m_CompAOExponentDirect: 0
m_ExtractAmbientOcclusion: 0
m_Padding: 2
m_LightmapParameters: {fileID: 0}
m_LightmapsBakeMode: 1
m_TextureCompression: 1
m_ReflectionCompression: 2
m_MixedBakeMode: 2
m_BakeBackend: 1
m_PVRSampling: 1
m_PVRDirectSampleCount: 32
m_PVRSampleCount: 512
m_PVRBounces: 2
m_PVREnvironmentSampleCount: 256
m_PVREnvironmentReferencePointCount: 2048
m_PVRFilteringMode: 1
m_PVRDenoiserTypeDirect: 1
m_PVRDenoiserTypeIndirect: 1
m_PVRDenoiserTypeAO: 1
m_PVRFilterTypeDirect: 0
m_PVRFilterTypeIndirect: 0
m_PVRFilterTypeAO: 0
m_PVREnvironmentMIS: 1
m_PVRCulling: 1
m_PVRFilteringGaussRadiusDirect: 1
m_PVRFilteringGaussRadiusIndirect: 5
m_PVRFilteringGaussRadiusAO: 2
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
m_PVRFilteringAtrousPositionSigmaIndirect: 2
m_PVRFilteringAtrousPositionSigmaAO: 1
m_ExportTrainingData: 0
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 20201, guid: 0000000000000000f000000000000000, type: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: fccb15998aa85b441b8811d1e641e7ff, type: 2}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
m_ObjectHideFlags: 0
m_BuildSettings:
serializedVersion: 3
agentTypeID: 0
agentRadius: 0.5
agentHeight: 2
agentSlope: 45
agentClimb: 0.4
ledgeDropHeight: 0
maxJumpAcrossDistance: 0
minRegionArea: 2
manualCellSize: 0
cellSize: 0.16666667
manualTileSize: 0
tileSize: 256
buildHeightMesh: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &1951203310
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1951203313}
- component: {fileID: 1951203312}
- component: {fileID: 1951203311}
m_Layer: 0
m_Name: Directional Light
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1951203311
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1951203310}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 474bcb49853aa07438625e644c072ee6, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Version: 3
m_UsePipelineSettings: 1
m_AdditionalLightsShadowResolutionTier: 2
m_LightLayerMask: 1
m_RenderingLayers: 1
m_CustomShadowLayers: 0
m_ShadowLayerMask: 1
m_ShadowRenderingLayers: 1
m_LightCookieSize: {x: 1, y: 1}
m_LightCookieOffset: {x: 0, y: 0}
m_SoftShadowQuality: 0
--- !u!108 &1951203312
Light:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1951203310}
m_Enabled: 1
serializedVersion: 11
m_Type: 1
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_Intensity: 1
m_Range: 10
m_SpotAngle: 30
m_InnerSpotAngle: 21.80208
m_CookieSize: 10
m_Shadows:
m_Type: 0
m_Resolution: -1
m_CustomResolution: -1
m_Strength: 1
m_Bias: 0.05
m_NormalBias: 0.4
m_NearPlane: 0.2
m_CullingMatrixOverride:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_UseCullingMatrixOverride: 0
m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 0
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingLayerMask: 1
m_Lightmapping: 4
m_LightShadowCasterMode: 0
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
m_UseBoundingSphereOverride: 0
m_UseViewFrustumForShadowCasterCull: 1
m_ForceVisible: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
m_LightUnit: 1
m_LuxAtDistance: 1
m_EnableSpotReflector: 1
--- !u!4 &1951203313
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1951203310}
serializedVersion: 2
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
m_LocalPosition: {x: -1629.2201, y: 20.046686, z: -2346.5356}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
--- !u!1001 &5150893300701459586
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 4151595878662017080, guid: 4d2fec91f9fa680438192d01cfe30a32, type: 3}
propertyPath: m_Name
value: MainBuilding
objectReference: {fileID: 0}
- target: {fileID: 6195279103721930897, guid: 4d2fec91f9fa680438192d01cfe30a32, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6195279103721930897, guid: 4d2fec91f9fa680438192d01cfe30a32, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6195279103721930897, guid: 4d2fec91f9fa680438192d01cfe30a32, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6195279103721930897, guid: 4d2fec91f9fa680438192d01cfe30a32, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6195279103721930897, guid: 4d2fec91f9fa680438192d01cfe30a32, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6195279103721930897, guid: 4d2fec91f9fa680438192d01cfe30a32, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6195279103721930897, guid: 4d2fec91f9fa680438192d01cfe30a32, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6195279103721930897, guid: 4d2fec91f9fa680438192d01cfe30a32, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6195279103721930897, guid: 4d2fec91f9fa680438192d01cfe30a32, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6195279103721930897, guid: 4d2fec91f9fa680438192d01cfe30a32, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 4d2fec91f9fa680438192d01cfe30a32, type: 3}
--- !u!1660057539 &9223372036854775807
SceneRoots:
m_ObjectHideFlags: 0
m_Roots:
- {fileID: 5150893300701459586}
- {fileID: 1951203313}

25178
Assets/ScenesPX/MainBuilding.prefab

File diff suppressed because it is too large Load Diff

7
Assets/ScenesPX/MainBuilding.prefab.meta

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 4d2fec91f9fa680438192d01cfe30a32
PrefabImporter:
externalObjects: {}
userData:
assetBundleName: mainbuilding
assetBundleVariant:

29
Assets/Scripts/BaseGameObjInfo.cs

@ -1,29 +0,0 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 游戏对象信息基类
/// </summary>
public class BaseGameObjInfo : MonoBehaviour {
public long gameObjID;//游戏对象ID
public CloneObjType gameObjType;//游戏对象类型
public long GameObjID { get { return gameObjID; } }
public void SetGameObjID(long id)
{
gameObjID = id;
}
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}

2
Assets/Scripts/BaseGameObjInfo.cs.meta

@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: a4c084de76af8c349ae1f222d8716b1b

11
Assets/Scripts/CameraViewDataForFunArea.cs

@ -1,11 +0,0 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraViewDataForFunArea : MonoBehaviour
{
public Vector3 TargetPos;
public float CameraX;
public float CameraY;
public float Distance;
}

2
Assets/Scripts/CameraViewDataForFunArea.cs.meta

@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 78722e55a6f8aa54db9f860ce5caf529

24
Assets/Scripts/CloneGameObjInfo.cs

@ -1,24 +0,0 @@
/// <summary>
/// 克隆游戏对象信息基类
/// </summary>
public class CloneGameObjInfo : BaseGameObjInfo
{
public string buildNum;//楼号
public int floorNum;//层号
public int interlayerNum;//夹层号,0表示不是夹层,1表示第一个夹层
public int Layer;
public bool ShoworHidden;//显示或隐藏
public string FullName;
public string SpecialTag = "";
}
public struct SpreadObjHandle
{
public long gameObjId;
public CloneObjType gameObjType;
public bool isShow;//是否显示:true表示显示出来;false表示隐藏
}

2
Assets/Scripts/CloneGameObjInfo.cs.meta

@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 77fb9be10c0901f46a68b3ee09e7972b

307
Assets/Scripts/CloneObjType.cs

@ -1,307 +0,0 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 克隆类型(枚举)
/// </summary>
public enum CloneObjType
{
None = 0,
//基本信息能克隆的实体类型
AdjoiningBuildings = 1,//毗邻
NoParkingArea = 2,//禁停区
KeyParts = 3,//重点部位
FireControlRoom = 4,//消控室
PumpRoom = 5,//泵房
BubblePumpRoom = 6,//泡沫泵房
WaterTank = 7,//水罐
PostFireHydrant = 8,//地上消火栓
FlushFireHydrant = 9,//地下消火栓
PumpAdapter = 10,//水泵接合器
FireWaterMonitor = 11,//消防水炮
FoamHydrant = 12,//泡沫栓
IndoorFireHydrant = 13,//室内消火栓
//消防力量设定图标克隆类型
ZongDuiIcon = 101,//中队图标
ZhiDuiIcon = 102,//大队图标
DaDuiIcon = 103,//支队图标
ZhongDuiIcon = 104,//总队图标
//灾情能克隆的实体类型
//注意:在增加灾情类型的时候要在带入答案的地方处理
NormalFire = 200,//普通火
FullSurfaceFire = 201,//全液面火
Insider = 202,//知情人
TrappedPerson = 203,//被困人员
WoundedPerson = 204,//伤员
FlowingFire = 205,//地面流淌火
Boilover = 206,//泄露
Smoke = 207,//烟雾
FireOpenType = 208,//敞开式燃烧
FireBreakThough = 209,//突破火
ForcibleEntryDoor = 210,//破拆门
//消防力量克隆类型:车辆类型
WaterTanker = 250,//水罐车
FoamFireTruck = 251,//泡沫车
HighSprayingCar = 252,//高喷车
LadderTruck = 253,//云梯车
LiftTruck = 254,//举高车
SmokeCar = 255,//排烟车
RescueVehicle = 256,//抢险救援车
LightingVehicle = 257,//照明车
InflatableCar = 258,//供气车
CommandVehicle = 259,//指挥车
ForcibleCar = 260,//破拆车
EquipmentCar = 261,//器材车
RemoteWaterSupplyTruck = 262,//远程供水车
DecontaminationTruck = 263,//洗消车
LiquidSupplyTruck = 264,//供液车
FoodSecurityTruck = 265,//饮食保障车
EquipmentTransportTruck = 266,//装备运输车
EquipmentRepairTruck = 267,//装备抢修车
MedicalSupportTruck = 268,//卫勤保障车
PowderFireTruck = 269,//干粉车
//消防力量克隆类型:消防员,移动水炮,灭火机器人等特殊装备类型
Fireman = 300,//消防员
MobileWaterCannon = 301,//移动水炮
FireFightingRobot = 302,//灭火机器人
SnowstormCannon = 303,//暴风雪炮
//工具克隆类型
WarningLine = 350,//警戒线
FireHose = 351,//消防水带
Attack = 352,//进攻
Retreat = 353,//撤退
CommandPost = 354,//火场指挥部
StagingArea = 355,//集结区
WaterCurtainHose = 356,//水幕水带
RegionalSettings = 357,//区域设定
SafeArea = 358,//安全区
ZhongDuiCommander = 359,//中队指挥员
ZhiDuiCommander = 360,//支队指挥员
SupportArea = 361,//战勤保障集结区
WaterBisector = 362,//二分水器
WaterTrisector = 363,//三分水器
SafetyOfficer = 364,//安全员
//WaterCurtain=365,//水幕水带
FoamHookPipe = 365,//泡沫钩管
TheSurroundingWaterPoint = 366,//周边水源取水点
FirePoolPoint = 367,//消防水池取水点
DecontaminationArea = 368,//洗消区
SmokeExhaustFan = 369,//排烟风机
//技能要克隆的物体的克隆类型
BlockOff = 400,//封堵
DrawLine = 401,//铺设的管线
LifeLightLine = 402,//铺设的就剩照明线
//截图工具克隆类型
Rectangle = 450,//矩形
Circular = 451,//圆形
Arrow = 452,//箭头
Text = 453,//文字
//战术板工具克隆类型
TBArrow = 500,//战术板箭头
CutOff = 501,//堵截
BreakThrough = 502,//突破
Segment = 503,//分割
Suppress = 504,//围剿
PincerAttack = 505,//夹攻
JointAttack = 506,//合击
//通信保障克隆类型
UVA = 550,//无人机
MonitorBall = 551,//布控球
MeshSolider = 552,//mesh单兵
FourGSolider = 553,//4g单兵图传
DigitalInterphone = 554,//数字对讲机
FourGBS = 555,//4g基站
VoiceReplayStation = 556,//语音中继台
PortableSateLliteStation = 557,//卫星便携站
PaintingLanguagePlatform = 558,//语绘平台
MeshRelaying = 559, //mesh中继
SignalBox = 560,//信号塔
//联动力量克隆类型
Cruiser = 600,//巡逻车
Motorbike = 601,//摩托车
Ambulance = 602,//救护车
PatrolWagon = 603,//警车
ElectricRepairCar = 604,//电力抢修车
GasRepairCar = 605,//燃气抢修车
WaterSupplyRepairCar = 606,//供水抢修车
EnvironmentalTestingVehicle = 607,//环保检测车
TransportVehicle = 608,//交通运输车
SanitartPreventionVehicle = 609,//卫生防疫车
EmergencyCommunicationVehicle = 610,//应急通讯车
FamilyCar = 611,//家庭轿车
EnterpriseMechanic = 612,//企业技工
PublicSecurity = 613,//保安
OfficeClerk = 614,//职员
Manager = 615,//经理
TechnicalEngineer = 616,//技术工程师
Doctor = 617,//医生
Team = 1000,//消防员组
StaticGameObject = 1001,//场景中固有的静态游戏实体对象
StaticUI = 1002//静态UI
}
/// <summary>
/// 根据克隆类型获取其对应的中文名称。
/// Tips:添加克隆类型时,注意同步添加到CloneTypeDic字典中
/// </summary>
public class CloneObjTypeName
{
private CloneObjTypeName() { }
private static CloneObjTypeName instance;
private static Dictionary<CloneObjType, string> CloneTypeDic;
public static CloneObjTypeName Instance
{
get
{
if (null == instance)
{
instance = new CloneObjTypeName();
InitCloneTypeDic();
}
return instance;
}
}
public string GetCloneObjTypeName(CloneObjType type)
{
string name = "未命名";
CloneTypeDic.TryGetValue(type, out name);
return name;
}
private static void InitCloneTypeDic()
{
CloneTypeDic = new Dictionary<CloneObjType, string>();
CloneTypeDic.Add(CloneObjType.AdjoiningBuildings, "毗邻");
CloneTypeDic.Add(CloneObjType.NoParkingArea, "禁停区");
CloneTypeDic.Add(CloneObjType.KeyParts, "重点部位");
CloneTypeDic.Add(CloneObjType.FireControlRoom, "消控室");
CloneTypeDic.Add(CloneObjType.PumpRoom, "泵房");
CloneTypeDic.Add(CloneObjType.BubblePumpRoom, "泡沫泵房");
CloneTypeDic.Add(CloneObjType.WaterTank, "水罐");
CloneTypeDic.Add(CloneObjType.PostFireHydrant, "地上消火栓");
CloneTypeDic.Add(CloneObjType.FlushFireHydrant, "地下消火栓");
CloneTypeDic.Add(CloneObjType.PumpAdapter, "水泵接合器");
CloneTypeDic.Add(CloneObjType.FireWaterMonitor, "消防水炮");
CloneTypeDic.Add(CloneObjType.FoamHydrant, "泡沫栓");
CloneTypeDic.Add(CloneObjType.NormalFire, "普通火");
CloneTypeDic.Add(CloneObjType.FullSurfaceFire, "全液面火");
CloneTypeDic.Add(CloneObjType.Insider, "知情人");
CloneTypeDic.Add(CloneObjType.TrappedPerson, "被困人员");
CloneTypeDic.Add(CloneObjType.WoundedPerson, "伤员");
CloneTypeDic.Add(CloneObjType.Boilover, "泄露");
CloneTypeDic.Add(CloneObjType.Smoke, "烟雾");
CloneTypeDic.Add(CloneObjType.FlowingFire, "流淌火");
CloneTypeDic.Add(CloneObjType.FireOpenType, "敞开式燃烧");
CloneTypeDic.Add(CloneObjType.FireBreakThough, "突破火");
CloneTypeDic.Add(CloneObjType.ForcibleEntryDoor, "破拆点");
CloneTypeDic.Add(CloneObjType.WaterTanker, "水罐车");
CloneTypeDic.Add(CloneObjType.FoamFireTruck, "泡沫车");
CloneTypeDic.Add(CloneObjType.HighSprayingCar, "高喷车");
CloneTypeDic.Add(CloneObjType.LadderTruck, "云梯车");
CloneTypeDic.Add(CloneObjType.LiftTruck, "举高车");
CloneTypeDic.Add(CloneObjType.SmokeCar, "排烟车");
CloneTypeDic.Add(CloneObjType.RescueVehicle, "抢险救援车");
CloneTypeDic.Add(CloneObjType.LightingVehicle, "照明车");
CloneTypeDic.Add(CloneObjType.InflatableCar, "供气车");
CloneTypeDic.Add(CloneObjType.CommandVehicle, "指挥车");
CloneTypeDic.Add(CloneObjType.ForcibleCar, "破拆车");
CloneTypeDic.Add(CloneObjType.EquipmentCar, "器材车");
CloneTypeDic.Add(CloneObjType.RemoteWaterSupplyTruck, "远程供水车");
CloneTypeDic.Add(CloneObjType.DecontaminationTruck, "洗消车");
CloneTypeDic.Add(CloneObjType.LiquidSupplyTruck, "供液车");
CloneTypeDic.Add(CloneObjType.FoodSecurityTruck, "饮食保障车");
CloneTypeDic.Add(CloneObjType.EquipmentTransportTruck, "装备运输车");
CloneTypeDic.Add(CloneObjType.EquipmentRepairTruck, "装备抢修车");
CloneTypeDic.Add(CloneObjType.MedicalSupportTruck, "卫勤保障车");
CloneTypeDic.Add(CloneObjType.PowderFireTruck, "干粉车");
CloneTypeDic.Add(CloneObjType.Fireman, "消防员");
CloneTypeDic.Add(CloneObjType.MobileWaterCannon, "移动水炮");
CloneTypeDic.Add(CloneObjType.FireFightingRobot, "灭火机器人");
CloneTypeDic.Add(CloneObjType.SnowstormCannon, "暴风雪炮");
CloneTypeDic.Add(CloneObjType.WarningLine, "警戒线");
CloneTypeDic.Add(CloneObjType.FireHose, "水带");
CloneTypeDic.Add(CloneObjType.Attack, "进攻");
CloneTypeDic.Add(CloneObjType.Retreat, "撤退");
CloneTypeDic.Add(CloneObjType.CommandPost, "指挥部");
CloneTypeDic.Add(CloneObjType.StagingArea, "集结区");
CloneTypeDic.Add(CloneObjType.SafeArea, "安全区");
CloneTypeDic.Add(CloneObjType.SupportArea, "战勤保障集结区");
CloneTypeDic.Add(CloneObjType.ZhongDuiCommander, "中队指挥员");
CloneTypeDic.Add(CloneObjType.ZhiDuiCommander, "支队指挥员");
CloneTypeDic.Add(CloneObjType.WaterCurtainHose, "水幕水带");
CloneTypeDic.Add(CloneObjType.RegionalSettings, "区域设定");
CloneTypeDic.Add(CloneObjType.WaterBisector, "二分水器");
CloneTypeDic.Add(CloneObjType.WaterTrisector, "三分水器");
//CloneTypeDic.Add(CloneObjType.WaterCurtainHose, "水幕水带");
CloneTypeDic.Add(CloneObjType.SafetyOfficer, "安全员");
CloneTypeDic.Add(CloneObjType.FoamHookPipe, "泡沫钩管");
CloneTypeDic.Add(CloneObjType.TheSurroundingWaterPoint, "周边水源取水点");
CloneTypeDic.Add(CloneObjType.FirePoolPoint, "消防水池取水点");
CloneTypeDic.Add(CloneObjType.DecontaminationArea, "洗消区");
CloneTypeDic.Add(CloneObjType.SmokeExhaustFan, "排烟机");
CloneTypeDic.Add(CloneObjType.BlockOff, "封堵");
CloneTypeDic.Add(CloneObjType.Rectangle, "矩形");
CloneTypeDic.Add(CloneObjType.Circular, "圆形");
CloneTypeDic.Add(CloneObjType.Arrow, "箭头");
CloneTypeDic.Add(CloneObjType.Text, "文字");
CloneTypeDic.Add(CloneObjType.TBArrow, "战术箭头");
CloneTypeDic.Add(CloneObjType.CutOff, "堵截");
CloneTypeDic.Add(CloneObjType.BreakThrough, "突破");
CloneTypeDic.Add(CloneObjType.Segment, "分割");
CloneTypeDic.Add(CloneObjType.Suppress, "围剿");
CloneTypeDic.Add(CloneObjType.PincerAttack, "夹攻");
CloneTypeDic.Add(CloneObjType.JointAttack, "合击");
CloneTypeDic.Add(CloneObjType.UVA, "无人机");
CloneTypeDic.Add(CloneObjType.MonitorBall, "布控球");
CloneTypeDic.Add(CloneObjType.MeshSolider, "mesh单兵");
CloneTypeDic.Add(CloneObjType.FourGSolider, "4g单兵图传");
CloneTypeDic.Add(CloneObjType.DigitalInterphone, "数字对讲机");
CloneTypeDic.Add(CloneObjType.FourGBS, "4g基站");
CloneTypeDic.Add(CloneObjType.VoiceReplayStation, "语音中继台");
CloneTypeDic.Add(CloneObjType.PortableSateLliteStation, "卫星便携站");
CloneTypeDic.Add(CloneObjType.PaintingLanguagePlatform, "语绘平台");
CloneTypeDic.Add(CloneObjType.MeshRelaying, "mesh中继");
CloneTypeDic.Add(CloneObjType.SignalBox, "信号塔");
CloneTypeDic.Add(CloneObjType.Cruiser, "巡逻车");
CloneTypeDic.Add(CloneObjType.Motorbike, "摩托车");
CloneTypeDic.Add(CloneObjType.Ambulance, "救护车");
CloneTypeDic.Add(CloneObjType.PatrolWagon, "警车");
CloneTypeDic.Add(CloneObjType.ElectricRepairCar, "电力抢修车");
CloneTypeDic.Add(CloneObjType.GasRepairCar, "燃气抢修车");
CloneTypeDic.Add(CloneObjType.WaterSupplyRepairCar, "供水抢修车");
CloneTypeDic.Add(CloneObjType.EnvironmentalTestingVehicle, "环保检测车");
CloneTypeDic.Add(CloneObjType.TransportVehicle, "交通运输车");
CloneTypeDic.Add(CloneObjType.SanitartPreventionVehicle, "卫生防疫车");
CloneTypeDic.Add(CloneObjType.EmergencyCommunicationVehicle, "应急通讯车");
CloneTypeDic.Add(CloneObjType.FamilyCar, "家庭轿车");
CloneTypeDic.Add(CloneObjType.EnterpriseMechanic, "企业技工");
CloneTypeDic.Add(CloneObjType.PublicSecurity, "保安");
CloneTypeDic.Add(CloneObjType.OfficeClerk, "职员");
CloneTypeDic.Add(CloneObjType.Manager, "经理");
CloneTypeDic.Add(CloneObjType.TechnicalEngineer, "技术工程师");
CloneTypeDic.Add(CloneObjType.Doctor, "医生");
}
}

2
Assets/Scripts/CloneObjType.cs.meta

@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: b9e79d9d52924c24abfeef77eb7fdca6

16
Assets/Scripts/CloneableEnums.cs

@ -1,16 +0,0 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 该脚本挂在点击可实例化物体的模型上
/// 选择该模型上具体可实例化的Clone类型
/// </summary>
[DisallowMultipleComponent]
public class CloneableEnums : MonoBehaviour {
public List<CloneObjType> CloneableTypes = new List<CloneObjType>();
//是否处理克隆操作点击碰撞的点
public bool isHandleCloneHitPoint;
}

2
Assets/Scripts/CloneableEnums.cs.meta

@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 1c0e57298488ae54aba3ef60b0b26920

20
Assets/Scripts/EvacuatePoint.cs

@ -1,20 +0,0 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EvacuatePoint : MonoBehaviour
{
public static List<Vector3> evacuatePoints = new List<Vector3>();
private void Awake()
{
evacuatePoints.Clear();
}
// Start is called before the first frame update
void Start()
{
evacuatePoints.Add(transform.position);
}
}

2
Assets/Scripts/EvacuatePoint.cs.meta

@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: d00f7578dda0a1c41b151766a6426479

15
Assets/Scripts/FloorMessage.cs

@ -1,15 +0,0 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FloorMessage : MonoBehaviour
{
// Use this for initialization
//使用方法:将脚本挂在场景中每一层的室内结构和室外结构的父对象上
//功能:记录建筑每层结构的层信息
public string buildNum;//楼号
public int floorNum;//层号
public int interlayerNum;//夹层号,0表示不是夹层,1表示第一个夹层
public Transform targetTrans;//切楼层时候用来定位的目标点
}

2
Assets/Scripts/FloorMessage.cs.meta

@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 7eb663056acb2644698df34826b5c60f

38
Assets/Scripts/GetAreaTargetManager.cs

@ -1,38 +0,0 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GetAreaTargetManager : MonoBehaviour
{
public Vector3 cameraInitPos = new Vector3();//相机Target初始位置
public float initDis;//相机离Target距离的初始值
public float init_X;//相机水平旋转初始值
public float init_Y;//相机竖直旋转初始值
public static GetAreaTargetManager Instance;
[SerializeField]
private List<Transform> children;
private void Awake()
{
children = new List<Transform>();
foreach (Transform item in transform)
{
children.Add(item);
}
Instance = this;
}
public Transform GetTarget(string name)
{
Transform result = null;
foreach (var item in children)
{
if (item.name == name)
{
result = item;
break;
}
}
return result;
}
}

2
Assets/Scripts/GetAreaTargetManager.cs.meta

@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: ad1ddb7b6b473ac4ea26f44aea624e2b

51
Assets/Scripts/LoadShader.cs

@ -1,51 +0,0 @@
using UnityEngine;
using System.Collections;
public class LoadShader : MonoBehaviour
{
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
#if !UNITY_WEBGL || UNITY_EDITOR
SetShader(transform);
#endif
}
// Update is called once per frame
void Update()
{
}
public void SetShader(Transform child)
{
if (child.childCount > 0)
{
for (int i = 0; i < child.childCount; i++)
{
SetShader(child.GetChild(i));
}
}
else
{
if (child.GetComponent<Renderer>())
{
var r = child.GetComponent<Renderer>();
foreach (var material in r.materials)
{
//Debug.Log(material.shader.name);
if (material.shader.name == "Universal Render Pipeline/Lit")
{
StartCoroutine(setshader(material));
}
}
}
}
}
IEnumerator setshader(Material m)
{
m.shader = null;
yield return new WaitForSeconds(0.1f);
m.shader = Shader.Find("Universal Render Pipeline/Lit");
}
}

2
Assets/Scripts/LoadShader.cs.meta

@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 5627e6832e9378c4e8632a52efa22183

18
Assets/Scripts/PathFindable.cs

@ -1,18 +0,0 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PathFindable : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}

2
Assets/Scripts/PathFindable.cs.meta

@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 43929be615d468749bba2f9917117a45

9
Assets/Scripts/TeamTargetItem.cs

@ -1,9 +0,0 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TeamTargetItem : MonoBehaviour
{
public List<string> TaskNames;
public string TankName;
}

2
Assets/Scripts/TeamTargetItem.cs.meta

@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 408648110f0742348a48d10da40f3ea5

52
Assets/Scripts/TeamTargetManager.cs

@ -1,52 +0,0 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 组任务目标点管理
/// </summary>
public class TeamTargetManager : MonoBehaviour
{
public static TeamTargetManager instance;
private void Awake()
{
instance = this;
}
public static TeamTargetManager GetInstance
{
get
{
if (instance == null)
{
string path = "TeamTargetParent";
GameObject obj = Resources.Load<GameObject>(path);
GameObject clone = Instantiate(obj);
clone.name = "TeamTargetParent";
instance = clone.GetComponent<TeamTargetManager>();
}
return instance;
}
}
/// <summary>
/// 罐区类组任务获取目标点
/// </summary>
/// <param name="taskName">任务名称</param>
/// <param name="tankName">罐区名称</param>
/// <returns></returns>
public Vector3 GetTargetPos(string taskName, string tankName)
{
Vector3 pos = Vector3.zero;
foreach (Transform item in transform)
{
if (item.GetComponent<TeamTargetItem>().TaskNames.Contains(taskName) &&
item.GetComponent<TeamTargetItem>().TankName == tankName)
{
pos = item.position;
break;
}
}
return pos;
}
}

2
Assets/Scripts/TeamTargetManager.cs.meta

@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: de3dcbb1284b2394a8049095e2bae278

2
Assets/Settings/GlobalVolumeProfile.asset.meta

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 7f31788ec33d13841af5e293c7294eb2
guid: 05d2280f07647584599ee83356512fc2
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0

136
Assets/Settings/Mobile_RPAsset.asset

@ -1,136 +0,0 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: bf2edee5c58d82540a51f03df9d42094, type: 3}
m_Name: Mobile_RPAsset
m_EditorClassIdentifier:
k_AssetVersion: 12
k_AssetPreviousVersion: 12
m_RendererType: 1
m_RendererData: {fileID: 0}
m_RendererDataList:
- {fileID: 11400000, guid: 65bc7dbf4170f435aa868c779acfb082, type: 2}
m_DefaultRendererIndex: 0
m_RequireDepthTexture: 0
m_RequireOpaqueTexture: 0
m_OpaqueDownsampling: 0
m_SupportsTerrainHoles: 1
m_SupportsHDR: 1
m_HDRColorBufferPrecision: 0
m_MSAA: 1
m_RenderScale: 0.8
m_UpscalingFilter: 3
m_FsrOverrideSharpness: 0
m_FsrSharpness: 0.92
m_EnableLODCrossFade: 1
m_LODCrossFadeDitheringType: 1
m_ShEvalMode: 0
m_LightProbeSystem: 0
m_ProbeVolumeMemoryBudget: 1024
m_ProbeVolumeBlendingMemoryBudget: 256
m_SupportProbeVolumeGPUStreaming: 0
m_SupportProbeVolumeDiskStreaming: 0
m_SupportProbeVolumeScenarios: 0
m_SupportProbeVolumeScenarioBlending: 0
m_ProbeVolumeSHBands: 1
m_MainLightRenderingMode: 1
m_MainLightShadowsSupported: 1
m_MainLightShadowmapResolution: 1024
m_AdditionalLightsRenderingMode: 1
m_AdditionalLightsPerObjectLimit: 4
m_AdditionalLightShadowsSupported: 0
m_AdditionalLightsShadowmapResolution: 2048
m_AdditionalLightsShadowResolutionTierLow: 256
m_AdditionalLightsShadowResolutionTierMedium: 512
m_AdditionalLightsShadowResolutionTierHigh: 1024
m_ReflectionProbeBlending: 1
m_ReflectionProbeBoxProjection: 1
m_ShadowDistance: 50
m_ShadowCascadeCount: 1
m_Cascade2Split: 0.25
m_Cascade3Split: {x: 0.1, y: 0.3}
m_Cascade4Split: {x: 0.067, y: 0.2, z: 0.467}
m_CascadeBorder: 0.2
m_ShadowDepthBias: 1
m_ShadowNormalBias: 1
m_AnyShadowsSupported: 1
m_SoftShadowsSupported: 0
m_ConservativeEnclosingSphere: 1
m_NumIterationsEnclosingSphere: 64
m_SoftShadowQuality: 2
m_AdditionalLightsCookieResolution: 1024
m_AdditionalLightsCookieFormat: 1
m_UseSRPBatcher: 1
m_SupportsDynamicBatching: 0
m_MixedLightingSupported: 1
m_SupportsLightCookies: 1
m_SupportsLightLayers: 1
m_DebugLevel: 0
m_StoreActionsOptimization: 0
m_UseAdaptivePerformance: 1
m_ColorGradingMode: 0
m_ColorGradingLutSize: 32
m_AllowPostProcessAlphaOutput: 0
m_UseFastSRGBLinearConversion: 1
m_SupportDataDrivenLensFlare: 1
m_SupportScreenSpaceLensFlare: 1
m_GPUResidentDrawerMode: 0
m_SmallMeshScreenPercentage: 0
m_GPUResidentDrawerEnableOcclusionCullingInCameras: 0
m_ShadowType: 1
m_LocalShadowsSupported: 0
m_LocalShadowsAtlasResolution: 256
m_MaxPixelLights: 0
m_ShadowAtlasResolution: 256
m_VolumeFrameworkUpdateMode: 0
m_VolumeProfile: {fileID: 11400000, guid: 10fc4df2da32a41aaa32d77bc913491c, type: 2}
apvScenesData:
obsoleteSceneBounds:
m_Keys: []
m_Values: []
obsoleteHasProbeVolumes:
m_Keys: []
m_Values:
m_PrefilteringModeMainLightShadows: 3
m_PrefilteringModeAdditionalLight: 0
m_PrefilteringModeAdditionalLightShadows: 0
m_PrefilterXRKeywords: 1
m_PrefilteringModeForwardPlus: 2
m_PrefilteringModeDeferredRendering: 0
m_PrefilteringModeScreenSpaceOcclusion: 0
m_PrefilterDebugKeywords: 1
m_PrefilterWriteRenderingLayers: 1
m_PrefilterHDROutput: 1
m_PrefilterAlphaOutput: 1
m_PrefilterSSAODepthNormals: 1
m_PrefilterSSAOSourceDepthLow: 1
m_PrefilterSSAOSourceDepthMedium: 1
m_PrefilterSSAOSourceDepthHigh: 1
m_PrefilterSSAOInterleaved: 1
m_PrefilterSSAOBlueNoise: 1
m_PrefilterSSAOSampleCountLow: 1
m_PrefilterSSAOSampleCountMedium: 1
m_PrefilterSSAOSampleCountHigh: 1
m_PrefilterDBufferMRT1: 1
m_PrefilterDBufferMRT2: 1
m_PrefilterDBufferMRT3: 1
m_PrefilterSoftShadowsQualityLow: 1
m_PrefilterSoftShadowsQualityMedium: 1
m_PrefilterSoftShadowsQualityHigh: 1
m_PrefilterSoftShadows: 0
m_PrefilterScreenCoord: 1
m_PrefilterNativeRenderPass: 1
m_PrefilterUseLegacyLightmaps: 0
m_ShaderVariantLogLevel: 0
m_ShadowCascades: 0
m_Textures:
blueNoise64LTex: {fileID: 2800000, guid: e3d24661c1e055f45a7560c033dbb837, type: 3}
bayerMatrixTex: {fileID: 2800000, guid: f9ee4ed84c1d10c49aabb9b210b0fc44, type: 3}

66
Assets/Settings/Mobile_Renderer.asset

@ -1,66 +0,0 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: de640fe3d0db1804a85f9fc8f5cadab6, type: 3}
m_Name: Mobile_Renderer
m_EditorClassIdentifier:
debugShaders:
debugReplacementPS: {fileID: 4800000, guid: cf852408f2e174538bcd9b7fda1c5ae7,
type: 3}
hdrDebugViewPS: {fileID: 4800000, guid: 573620ae32aec764abd4d728906d2587, type: 3}
probeVolumeSamplingDebugComputeShader: {fileID: 7200000, guid: 53626a513ea68ce47b59dc1299fe3959,
type: 3}
probeVolumeResources:
probeVolumeDebugShader: {fileID: 0}
probeVolumeFragmentationDebugShader: {fileID: 0}
probeVolumeOffsetDebugShader: {fileID: 0}
probeVolumeSamplingDebugShader: {fileID: 0}
probeSamplingDebugMesh: {fileID: 0}
probeSamplingDebugTexture: {fileID: 0}
probeVolumeBlendStatesCS: {fileID: 0}
m_RendererFeatures: []
m_RendererFeatureMap:
m_UseNativeRenderPass: 1
postProcessData: {fileID: 11400000, guid: 41439944d30ece34e96484bdb6645b55, type: 2}
m_AssetVersion: 2
m_OpaqueLayerMask:
serializedVersion: 2
m_Bits: 4294967295
m_TransparentLayerMask:
serializedVersion: 2
m_Bits: 4294967295
m_DefaultStencilState:
overrideStencilState: 0
stencilReference: 0
stencilCompareFunction: 8
passOperation: 2
failOperation: 0
zFailOperation: 0
m_ShadowTransparentReceive: 0
m_RenderingMode: 2
m_DepthPrimingMode: 0
m_CopyDepthMode: 0
m_AccurateGbufferNormals: 0
m_IntermediateTextureMode: 0
--- !u!114 &1002035807535710140
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a0ec52cecc795714f93f274c2e71e87b, type: 3}
m_Name: GlobalVolumeFeature
m_EditorClassIdentifier:
m_Active: 1
_baseProfile: {fileID: 11400000, guid: f2d4d916a6612574cad220d125febbf2, type: 2}

2
Assets/Settings/PC_RPAsset.asset

@ -91,7 +91,7 @@ MonoBehaviour:
m_MaxPixelLights: 0
m_ShadowAtlasResolution: 256
m_VolumeFrameworkUpdateMode: 0
m_VolumeProfile: {fileID: 11400000, guid: 10fc4df2da32a41aaa32d77bc913491c, type: 2}
m_VolumeProfile: {fileID: 0}
apvScenesData:
obsoleteSceneBounds:
m_Keys: []

159
Assets/Settings/SampleSceneProfile.asset

@ -1,159 +0,0 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-7893295128165547882
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0b2db86121404754db890f4c8dfe81b2, type: 3}
m_Name: Bloom
m_EditorClassIdentifier:
active: 1
skipIterations:
m_OverrideState: 1
m_Value: 0
threshold:
m_OverrideState: 1
m_Value: 1
intensity:
m_OverrideState: 1
m_Value: 0.25
scatter:
m_OverrideState: 1
m_Value: 0.5
clamp:
m_OverrideState: 0
m_Value: 65472
tint:
m_OverrideState: 0
m_Value: {r: 1, g: 1, b: 1, a: 1}
highQualityFiltering:
m_OverrideState: 1
m_Value: 1
downscale:
m_OverrideState: 0
m_Value: 0
maxIterations:
m_OverrideState: 0
m_Value: 6
dirtTexture:
m_OverrideState: 0
m_Value: {fileID: 0}
dimension: 1
dirtIntensity:
m_OverrideState: 0
m_Value: 0
--- !u!114 &-3357603926938260329
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 899c54efeace73346a0a16faa3afe726, type: 3}
m_Name: Vignette
m_EditorClassIdentifier:
active: 1
color:
m_OverrideState: 0
m_Value: {r: 0, g: 0, b: 0, a: 1}
center:
m_OverrideState: 0
m_Value: {x: 0.5, y: 0.5}
intensity:
m_OverrideState: 1
m_Value: 0.2
smoothness:
m_OverrideState: 0
m_Value: 0.2
rounded:
m_OverrideState: 0
m_Value: 0
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d7fd9488000d3734a9e00ee676215985, type: 3}
m_Name: SampleSceneProfile
m_EditorClassIdentifier:
components:
- {fileID: 849379129802519247}
- {fileID: -7893295128165547882}
- {fileID: 7391319092446245454}
- {fileID: -3357603926938260329}
--- !u!114 &849379129802519247
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 97c23e3b12dc18c42a140437e53d3951, type: 3}
m_Name: Tonemapping
m_EditorClassIdentifier:
active: 1
mode:
m_OverrideState: 1
m_Value: 1
neutralHDRRangeReductionMode:
m_OverrideState: 0
m_Value: 2
acesPreset:
m_OverrideState: 0
m_Value: 3
hueShiftAmount:
m_OverrideState: 0
m_Value: 0
detectPaperWhite:
m_OverrideState: 1
m_Value: 0
paperWhite:
m_OverrideState: 1
m_Value: 234
detectBrightnessLimits:
m_OverrideState: 1
m_Value: 1
minNits:
m_OverrideState: 1
m_Value: 0.005
maxNits:
m_OverrideState: 1
m_Value: 647
--- !u!114 &7391319092446245454
MonoBehaviour:
m_ObjectHideFlags: 3
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ccf1aba9553839d41ae37dd52e9ebcce, type: 3}
m_Name: MotionBlur
m_EditorClassIdentifier:
active: 0
mode:
m_OverrideState: 0
m_Value: 0
quality:
m_OverrideState: 1
m_Value: 2
intensity:
m_OverrideState: 1
m_Value: 0.6
clamp:
m_OverrideState: 0
m_Value: 0.05

8
Assets/Settings/SampleSceneProfile.asset.meta

@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 45a4652e73df85f4fad4f4151ae98fdf
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

2
Assets/Settings/WEB_RPAsset.asset.meta

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 0cca8eb476f79a648aa9bf37a564947a
guid: 37c65278c90224645a6443576ca00fe4
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000

2
Assets/Settings/WEB_Renderer.asset.meta

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 2f691fc2a7754544893597830f4c4ed6
guid: f6f9da70dac17b64a94d7a3fa1deccd1
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000

2
Assets/StreamingAssets/WebAssetBundles/PXCJY.meta → Assets/StreamingAssets/AssetBundles/KHCJY.meta

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: da4b1f3ebea143a4aaa0a05b1d535668
guid: 5eeae4e58e73dca41b2854a731808416
folderAsset: yes
DefaultImporter:
externalObjects: {}

BIN
Assets/StreamingAssets/AssetBundles/PXCJY/PXCJY → Assets/StreamingAssets/AssetBundles/KHCJY/KHCJY

Binary file not shown.

4
Assets/StreamingAssets/AssetBundles/PXCJY/PXCJY.manifest → Assets/StreamingAssets/AssetBundles/KHCJY/KHCJY.manifest

@ -1,9 +1,9 @@
ManifestFileVersion: 0
UnityVersion: 6000.0.13f1
CRC: 2557993278
CRC: 4092023851
HashAppended: 0
AssetBundleManifest:
AssetBundleInfos:
Info_0:
Name: mainbuilding
Name: buildingscene
Dependencies: {}

2
Assets/StreamingAssets/AssetBundles/PXCJY/PXCJY.manifest.meta → Assets/StreamingAssets/AssetBundles/KHCJY/KHCJY.manifest.meta

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: fefcf3957ce6a3a4da8d4eb379acde80
guid: 459210c7b3c7fc64696ba51f7f992330
DefaultImporter:
externalObjects: {}
userData:

2
Assets/StreamingAssets/AssetBundles/PXCJY/PXCJY.meta → Assets/StreamingAssets/AssetBundles/KHCJY/KHCJY.meta

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: f23286e34c3e375448a881765b85d176
guid: c0dc89441030a5e4abd678630a25264e
DefaultImporter:
externalObjects: {}
userData:

BIN
Assets/StreamingAssets/AssetBundles/PXCJY/mainbuilding → Assets/StreamingAssets/AssetBundles/KHCJY/buildingscene

Binary file not shown.

75
Assets/StreamingAssets/AssetBundles/KHCJY/buildingscene.manifest

@ -0,0 +1,75 @@
ManifestFileVersion: 0
UnityVersion: 6000.0.13f1
CRC: 159763229
Hashes:
AssetFileHash:
serializedVersion: 2
Hash: 0f88987231457394703e2897a4037b73
TypeTreeHash:
serializedVersion: 2
Hash: 28a3986ea4badb90af67f441fe7b5bcd
IncrementalBuildHash:
serializedVersion: 2
Hash: b9347207b713abe669e84cc07bd9b95f
HashAppended: 0
ClassTypes:
- Class: 1
Script: {instanceID: 0}
- Class: 4
Script: {instanceID: 0}
- Class: 21
Script: {instanceID: 0}
- Class: 23
Script: {instanceID: 0}
- Class: 28
Script: {instanceID: 0}
- Class: 33
Script: {instanceID: 0}
- Class: 43
Script: {instanceID: 0}
- Class: 48
Script: {instanceID: 0}
- Class: 64
Script: {instanceID: 0}
- Class: 65
Script: {instanceID: 0}
- Class: 89
Script: {instanceID: 0}
- Class: 104
Script: {instanceID: 0}
- Class: 114
Script: {fileID: 11500000, guid: 1e3fdca004f2d45fe8abbed571a8abd5, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: 0777d029ed3dffa4692f417d4aba19ca, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: b0f36456c352b534cb76fe2cc683b76d, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: ad1ddb7b6b473ac4ea26f44aea624e2b, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: 5627e6832e9378c4e8632a52efa22183, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: 6eeb5dc026fdf4b488bc7ae0138ab719, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: 7a5ac11cc976e418e8d13136b07e1f52, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: d00f7578dda0a1c41b151766a6426479, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: 43929be615d468749bba2f9917117a45, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: 1c0e57298488ae54aba3ef60b0b26920, type: 3}
- Class: 115
Script: {instanceID: 0}
- Class: 157
Script: {instanceID: 0}
- Class: 196
Script: {instanceID: 0}
- Class: 215
Script: {instanceID: 0}
- Class: 238
Script: {instanceID: 0}
- Class: 850595691
Script: {instanceID: 0}
SerializeReferenceClassIdentifiers: []
Assets:
- Assets/ScenesKH/BuildingScene.unity
Dependencies: []

2
Assets/ScenesPX/BuildingScene.unity.meta → Assets/StreamingAssets/AssetBundles/KHCJY/buildingscene.manifest.meta

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 6dfe89ffdf17ae54a86148c5d467b98a
guid: 537274296ab57724b918cdbebdcd1391
DefaultImporter:
externalObjects: {}
userData:

2
Assets/StreamingAssets/AssetBundles/PXCJY/mainbuilding.manifest.meta → Assets/StreamingAssets/AssetBundles/KHCJY/buildingscene.meta

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: d3220bfe813929d43a9699285c04cd41
guid: 022fb64987988544dab5d2a3d17f7e35
DefaultImporter:
externalObjects: {}
userData:

45
Assets/StreamingAssets/AssetBundles/PXCJY/mainbuilding.manifest

@ -1,45 +0,0 @@
ManifestFileVersion: 0
UnityVersion: 6000.0.13f1
CRC: 1230003296
Hashes:
AssetFileHash:
serializedVersion: 2
Hash: c606d50cdfe1c1d65d645b4200932d99
TypeTreeHash:
serializedVersion: 2
Hash: 3e4898902a241424dacad96dafc48830
IncrementalBuildHash:
serializedVersion: 2
Hash: ad85fd0b056b1a33d9fe1bd120321a45
HashAppended: 0
ClassTypes:
- Class: 1
Script: {instanceID: 0}
- Class: 4
Script: {instanceID: 0}
- Class: 21
Script: {instanceID: 0}
- Class: 23
Script: {instanceID: 0}
- Class: 28
Script: {instanceID: 0}
- Class: 33
Script: {instanceID: 0}
- Class: 43
Script: {instanceID: 0}
- Class: 48
Script: {instanceID: 0}
- Class: 64
Script: {instanceID: 0}
- Class: 114
Script: {fileID: 11500000, guid: 0777d029ed3dffa4692f417d4aba19ca, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: 5627e6832e9378c4e8632a52efa22183, type: 3}
- Class: 115
Script: {instanceID: 0}
- Class: 215
Script: {instanceID: 0}
SerializeReferenceClassIdentifiers: []
Assets:
- Assets/ScenesPX/MainBuilding.prefab
Dependencies: []

7
Assets/StreamingAssets/AssetBundles/PXCJY/mainbuilding.meta

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 8587fb0a062a0714ea51dbf4c9469ecb
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

2
Assets/StreamingAssets/AssetBundles/PXCJY.meta → Assets/StreamingAssets/WebAssetBundles/KHCJY.meta

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: fcfc3b680c311c74c97f6c72e30ae64c
guid: 614b0cf86fc93cd41b161de675ccfa91
folderAsset: yes
DefaultImporter:
externalObjects: {}

BIN
Assets/StreamingAssets/WebAssetBundles/PXCJY/PXCJY → Assets/StreamingAssets/WebAssetBundles/KHCJY/KHCJY

Binary file not shown.

4
Assets/StreamingAssets/WebAssetBundles/PXCJY/PXCJY.manifest → Assets/StreamingAssets/WebAssetBundles/KHCJY/KHCJY.manifest

@ -1,9 +1,9 @@
ManifestFileVersion: 0
UnityVersion: 6000.0.13f1
CRC: 2202818347
CRC: 3025340205
HashAppended: 0
AssetBundleManifest:
AssetBundleInfos:
Info_0:
Name: mainbuilding
Name: buildingscene
Dependencies: {}

7
Assets/StreamingAssets/WebAssetBundles/KHCJY/KHCJY.manifest.meta

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 213e2e1f1390b514bb38f62ff1e0e022
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

7
Assets/StreamingAssets/WebAssetBundles/KHCJY/KHCJY.meta

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: f72c4099e4465c44cab2e1c22ac4f425
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/StreamingAssets/WebAssetBundles/PXCJY/mainbuilding → Assets/StreamingAssets/WebAssetBundles/KHCJY/buildingscene

Binary file not shown.

75
Assets/StreamingAssets/WebAssetBundles/KHCJY/buildingscene.manifest

@ -0,0 +1,75 @@
ManifestFileVersion: 0
UnityVersion: 6000.0.13f1
CRC: 3857001222
Hashes:
AssetFileHash:
serializedVersion: 2
Hash: 9fc83d715437a29da8582e2b95b8514e
TypeTreeHash:
serializedVersion: 2
Hash: 28a3986ea4badb90af67f441fe7b5bcd
IncrementalBuildHash:
serializedVersion: 2
Hash: 35fa0cb12ad901ab92d23c62631f41ba
HashAppended: 0
ClassTypes:
- Class: 1
Script: {instanceID: 0}
- Class: 4
Script: {instanceID: 0}
- Class: 21
Script: {instanceID: 0}
- Class: 23
Script: {instanceID: 0}
- Class: 28
Script: {instanceID: 0}
- Class: 33
Script: {instanceID: 0}
- Class: 43
Script: {instanceID: 0}
- Class: 48
Script: {instanceID: 0}
- Class: 64
Script: {instanceID: 0}
- Class: 65
Script: {instanceID: 0}
- Class: 89
Script: {instanceID: 0}
- Class: 104
Script: {instanceID: 0}
- Class: 114
Script: {fileID: 11500000, guid: 1e3fdca004f2d45fe8abbed571a8abd5, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: 0777d029ed3dffa4692f417d4aba19ca, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: b0f36456c352b534cb76fe2cc683b76d, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: ad1ddb7b6b473ac4ea26f44aea624e2b, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: 5627e6832e9378c4e8632a52efa22183, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: 6eeb5dc026fdf4b488bc7ae0138ab719, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: 7a5ac11cc976e418e8d13136b07e1f52, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: d00f7578dda0a1c41b151766a6426479, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: 43929be615d468749bba2f9917117a45, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: 1c0e57298488ae54aba3ef60b0b26920, type: 3}
- Class: 115
Script: {instanceID: 0}
- Class: 157
Script: {instanceID: 0}
- Class: 196
Script: {instanceID: 0}
- Class: 215
Script: {instanceID: 0}
- Class: 238
Script: {instanceID: 0}
- Class: 850595691
Script: {instanceID: 0}
SerializeReferenceClassIdentifiers: []
Assets:
- Assets/ScenesKH/BuildingScene.unity
Dependencies: []

7
Assets/StreamingAssets/WebAssetBundles/KHCJY/buildingscene.manifest.meta

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: cab0f42d1c4a93245b43f145ac7970e8
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

7
Assets/StreamingAssets/WebAssetBundles/KHCJY/buildingscene.meta

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: b4e6fca187304254bbaec3e951a4b397
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

7
Assets/StreamingAssets/WebAssetBundles/PXCJY/PXCJY.manifest.meta

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: d5d016118c98e954e912e623c1e2b9ab
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

7
Assets/StreamingAssets/WebAssetBundles/PXCJY/PXCJY.meta

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: bcfdc7bc97f0bb645a023acb283d518b
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

45
Assets/StreamingAssets/WebAssetBundles/PXCJY/mainbuilding.manifest

@ -1,45 +0,0 @@
ManifestFileVersion: 0
UnityVersion: 6000.0.13f1
CRC: 1511113693
Hashes:
AssetFileHash:
serializedVersion: 2
Hash: 484606f9fa7ec851680c11bfac499e03
TypeTreeHash:
serializedVersion: 2
Hash: 3e4898902a241424dacad96dafc48830
IncrementalBuildHash:
serializedVersion: 2
Hash: 6eb965e94092143ee88787dd1a275f88
HashAppended: 0
ClassTypes:
- Class: 1
Script: {instanceID: 0}
- Class: 4
Script: {instanceID: 0}
- Class: 21
Script: {instanceID: 0}
- Class: 23
Script: {instanceID: 0}
- Class: 28
Script: {instanceID: 0}
- Class: 33
Script: {instanceID: 0}
- Class: 43
Script: {instanceID: 0}
- Class: 48
Script: {instanceID: 0}
- Class: 64
Script: {instanceID: 0}
- Class: 114
Script: {fileID: 11500000, guid: 0777d029ed3dffa4692f417d4aba19ca, type: 3}
- Class: 114
Script: {fileID: 11500000, guid: 5627e6832e9378c4e8632a52efa22183, type: 3}
- Class: 115
Script: {instanceID: 0}
- Class: 215
Script: {instanceID: 0}
SerializeReferenceClassIdentifiers: []
Assets:
- Assets/ScenesPX/MainBuilding.prefab
Dependencies: []

7
Assets/StreamingAssets/WebAssetBundles/PXCJY/mainbuilding.manifest.meta

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 2ee314b430804854f9b7f18c772dfbf8
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

7
Assets/StreamingAssets/WebAssetBundles/PXCJY/mainbuilding.meta

@ -1,7 +0,0 @@
fileFormatVersion: 2
guid: 7d48e02e453aae54c9ac4986c2ffee58
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

2
Assets/URPPublic

@ -1 +1 @@
Subproject commit 7d63da1f1a18b0f313ee83a367f823f35f3cf6d0
Subproject commit ba00aa62deb2407da947f6c33cd3151df858bad8

2
Assets/ZhenHaiLiaHua/Materials/guan2_gai_guan_AlbedoTransparency.mat

@ -162,7 +162,7 @@ Material:
- _REFLECTIONS_ROUGHNESS: 0.9
- _REFLECTIONS_WEIGHT: 0
- _ReceiveShadows: 1
- _Smoothness: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1

2
Assets/ZhenHaiLiaHua/Scenes/0Texture/CJ_DI1 1.jpg.meta

@ -69,7 +69,7 @@ TextureImporter:
platformSettings:
- serializedVersion: 4
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
maxTextureSize: 4096
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1

2
Assets/ZhenHaiLiaHua/Scenes/0Texture/CJ_DI1.jpg.meta

@ -69,7 +69,7 @@ TextureImporter:
platformSettings:
- serializedVersion: 4
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
maxTextureSize: 4096
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1

28
Assets/ZhenHaiLiaHua/Scenes/CJ_DI1.jpg.meta

@ -69,7 +69,7 @@ TextureImporter:
platformSettings:
- serializedVersion: 4
buildTarget: DefaultTexturePlatform
maxTextureSize: 1024
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
@ -119,32 +119,6 @@ TextureImporter:
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: iOS
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 4
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []

2
ProjectSettings/EditorBuildSettings.asset

@ -6,7 +6,7 @@ EditorBuildSettings:
serializedVersion: 2
m_Scenes:
- enabled: 1
path: Assets/ScenesPX/BuildingScene.unity
path: Assets/ScenesKH/BuildingScene.unity
guid: 99c9720ab356a0642a771bea13969a05
m_configObjects:
com.unity.input.settings.actions: {fileID: -944628639613478452, guid: 052faaac586de48259a63d0c4782560b, type: 3}

33
ProjectSettings/NavMeshAreas.asset

@ -69,14 +69,32 @@ NavMeshProjectSettings:
cost: 1
- name:
cost: 1
m_LastAgentTypeID: -887442657
m_LastAgentTypeID: -1372625422
m_Settings:
- serializedVersion: 2
- serializedVersion: 3
agentTypeID: 0
agentRadius: 0.5
agentHeight: 2
agentRadius: 0.1
agentHeight: 1
agentSlope: 60
agentClimb: 0.5
ledgeDropHeight: 0
maxJumpAcrossDistance: 0
minRegionArea: 2
manualCellSize: 0
cellSize: 0.16666667
manualTileSize: 0
tileSize: 256
buildHeightMesh: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug:
m_Flags: 0
- serializedVersion: 3
agentTypeID: -1372625422
agentRadius: 0.3
agentHeight: 1
agentSlope: 45
agentClimb: 0.75
agentClimb: 0.5
ledgeDropHeight: 0
maxJumpAcrossDistance: 0
minRegionArea: 2
@ -84,8 +102,11 @@ NavMeshProjectSettings:
cellSize: 0.16666667
manualTileSize: 0
tileSize: 256
accuratePlacement: 0
buildHeightMesh: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug:
m_Flags: 0
m_SettingNames:
- Humanoid
- car

74
ProjectSettings/TagManager.asset

@ -2,8 +2,17 @@
%TAG !u! tag:unity3d.com,2011:
--- !u!78 &1
TagManager:
serializedVersion: 2
tags: []
serializedVersion: 3
tags:
- Cloneable
- StaticEntity
- Road
- Water
- Carother
- fire
- TankCollider
- CoolingCollider
- guan
layers:
- Default
- TransparentFX
@ -13,29 +22,29 @@ TagManager:
- UI
-
-
- MiniMap
- Tree
- Car
- Person
- Volume
-
-
- CarRoad
- SoldierRoad
- Thermal
-
-
- Fire
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- SetLiLiang
- FightDeploy
- PathFinding
- HighLighted
- XFSSHidden
- Hidden
-
m_SortingLayers:
- name: Default
@ -43,34 +52,3 @@ TagManager:
locked: 0
m_RenderingLayers:
- Default
- Light Layer 1
- Light Layer 2
- Light Layer 3
- Light Layer 4
- Light Layer 5
- Light Layer 6
- Light Layer 7
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

Loading…
Cancel
Save