67 changed files with 126112 additions and 306 deletions
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,7 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 2aad1913698c1e8478afd07e35bb76f8 |
||||||
|
PrefabImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: b1b174819657f8f41b32618615a59bec |
||||||
|
folderAsset: yes |
||||||
|
DefaultImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: a688944dd20111445ba6563f5912b431 |
||||||
|
folderAsset: yes |
||||||
|
DefaultImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,406 @@ |
|||||||
|
using System.Collections; |
||||||
|
using System.Collections.Generic; |
||||||
|
using UnityEngine; |
||||||
|
using UnityEditor; |
||||||
|
using UnityEngine.AI; |
||||||
|
using System.IO; |
||||||
|
using System.Text; |
||||||
|
using System; |
||||||
|
|
||||||
|
public class SceneTool |
||||||
|
{ |
||||||
|
[MenuItem("SceneTool/SetFloorMessage")]//添加FloorMessage脚本绑定楼层信息 |
||||||
|
public static void SetFloorMessage() |
||||||
|
{ |
||||||
|
Transform neiParent = GameObject.Find("shinei").transform.GetChild(0); |
||||||
|
for (int i = 0; i < neiParent.childCount; i++) |
||||||
|
{ |
||||||
|
//Debug.Log(neiParent.GetChild(i).name); |
||||||
|
if (!neiParent.GetChild(i).GetComponent<FloorMessage>()) |
||||||
|
{ |
||||||
|
neiParent.GetChild(i).gameObject.AddComponent<FloorMessage>(); |
||||||
|
} |
||||||
|
FloorMessage msg = neiParent.GetChild(i).GetComponent<FloorMessage>(); |
||||||
|
msg.targetTrans = GetTarget(neiParent.GetChild(i)); |
||||||
|
msg.buildNum = neiParent.name; |
||||||
|
if (!neiParent.GetChild(i).name.ToLower().Contains("m")) |
||||||
|
{ |
||||||
|
string floornum = neiParent.GetChild(i).name.Substring |
||||||
|
(neiParent.GetChild(i).name.ToLower().IndexOf("nei") + 3, neiParent.GetChild(i).name.Length - 3); |
||||||
|
msg.floorNum = int.Parse(floornum); |
||||||
|
msg.interlayerNum = 0; |
||||||
|
} |
||||||
|
else |
||||||
|
{ |
||||||
|
msg.floorNum = int.Parse(neiParent.GetChild(i).name.Substring |
||||||
|
(neiParent.GetChild(i).name.ToLower().IndexOf("nei") + 3, neiParent.GetChild(i).name.ToLower().IndexOf("m") |
||||||
|
- neiParent.GetChild(i).name.ToLower().IndexOf("nei") - 3)); |
||||||
|
msg.interlayerNum = int.Parse(neiParent.GetChild(i).name.Substring |
||||||
|
(neiParent.GetChild(i).name.ToLower().IndexOf("m") + 1, neiParent.GetChild(i).name.Length - |
||||||
|
neiParent.GetChild(i).name.ToLower().IndexOf("m") - 1)); |
||||||
|
} |
||||||
|
} |
||||||
|
Transform waiParent = GameObject.Find("shiwai").transform.GetChild(0); |
||||||
|
for (int i = 0; i < waiParent.childCount; i++) |
||||||
|
{ |
||||||
|
//Debug.Log(waiParent.GetChild(i).name); |
||||||
|
if (!waiParent.GetChild(i).GetComponent<FloorMessage>()) |
||||||
|
{ |
||||||
|
waiParent.GetChild(i).gameObject.AddComponent<FloorMessage>(); |
||||||
|
} |
||||||
|
FloorMessage msg = waiParent.GetChild(i).GetComponent<FloorMessage>(); |
||||||
|
msg.buildNum = waiParent.name; |
||||||
|
if (!waiParent.GetChild(i).name.ToLower().Contains("m")) |
||||||
|
{ |
||||||
|
string floornum = waiParent.GetChild(i).name.Substring |
||||||
|
(waiParent.GetChild(i).name.ToLower().IndexOf("wai") + 3, waiParent.GetChild(i).name.Length - 3); |
||||||
|
msg.floorNum = int.Parse(floornum); |
||||||
|
msg.interlayerNum = 0; |
||||||
|
} |
||||||
|
else |
||||||
|
{ |
||||||
|
msg.floorNum = int.Parse(waiParent.GetChild(i).name.Substring |
||||||
|
(waiParent.GetChild(i).name.ToLower().IndexOf("wai") + 3, waiParent.GetChild(i).name.ToLower().IndexOf("m") |
||||||
|
- waiParent.GetChild(i).name.ToLower().IndexOf("wai") - 3)); |
||||||
|
msg.interlayerNum = int.Parse(waiParent.GetChild(i).name.Substring |
||||||
|
(waiParent.GetChild(i).name.ToLower().IndexOf("m") + 1, waiParent.GetChild(i).name.Length - |
||||||
|
waiParent.GetChild(i).name.ToLower().IndexOf("m") - 1)); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
static Transform GetTarget(Transform parent) |
||||||
|
{ |
||||||
|
for (int i = 0; i < parent.childCount; i++) |
||||||
|
{ |
||||||
|
if (parent.GetChild(i).name.ToLower().Contains("_floor") |
||||||
|
|| parent.GetChild(i).name.ToLower().Contains("-floor") |
||||||
|
|| parent.GetChild(i).name.ToLower().Contains("-floor") |
||||||
|
) |
||||||
|
{ |
||||||
|
if (parent.GetChild(i).GetComponent<MeshRenderer>()) |
||||||
|
return parent.GetChild(i); |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
return parent; |
||||||
|
} |
||||||
|
[MenuItem("SceneTool/SetNavLayerShiNeiFloor")]//添加寻路层(选中shinei对象设置,注:扶梯情况特殊没有包含) |
||||||
|
public static void SetNavLayerShiNeiFloor() |
||||||
|
{ |
||||||
|
Transform[] obj = Selection.GetTransforms(SelectionMode.Deep); |
||||||
|
for (int i = 0; i < obj.Length; i++) |
||||||
|
{ |
||||||
|
if (obj[i].name.ToLower().Contains("_floor") ||//地面 |
||||||
|
obj[i].name.ToLower().Contains("_floor") || |
||||||
|
obj[i].name.ToLower().Contains("-floor") && |
||||||
|
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>(); |
||||||
|
} |
||||||
|
CloneableEnums enumParent = obj[i].gameObject.GetComponent<CloneableEnums>(); |
||||||
|
Transform Template = GameObject.Find("TheCarRoad").transform.Find("ShiNeiFloor"); |
||||||
|
var CloneableEnums = Template.GetComponent<CloneableEnums>(); |
||||||
|
enumParent.CloneableTypes = CloneableEnums.CloneableTypes; |
||||||
|
if (obj[i].parent.GetComponent<FloorMessage>()) |
||||||
|
{ |
||||||
|
FloorMessage fmg = obj[i].parent.GetComponent<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; |
||||||
|
} |
||||||
|
if (obj[i].parent.parent.GetComponent<FloorMessage>()) |
||||||
|
{ |
||||||
|
FloorMessage fmg = obj[i].parent.parent.GetComponent<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; |
||||||
|
} |
||||||
|
} |
||||||
|
if (obj[i].name.ToLower().Contains("_wall") ||//墙面 |
||||||
|
obj[i].name.ToLower().Contains("_wall") || |
||||||
|
obj[i].name.ToLower().Contains("-wall") && |
||||||
|
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; |
||||||
|
if (!obj[i].gameObject.GetComponent<MeshCollider>()) |
||||||
|
{ |
||||||
|
obj[i].gameObject.AddComponent<MeshCollider>(); |
||||||
|
} |
||||||
|
} |
||||||
|
if (obj[i].name.ToLower().Contains("zhuzi") ||//柱子 |
||||||
|
obj[i].name.ToLower().Contains("_zhuzi") || |
||||||
|
obj[i].name.ToLower().Contains("-zhuzi") && |
||||||
|
obj[i].GetComponent<MeshRenderer>()) |
||||||
|
{ |
||||||
|
//Debug.Log(obj[i].name); |
||||||
|
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; |
||||||
|
if (!obj[i].gameObject.GetComponent<MeshCollider>()) |
||||||
|
{ |
||||||
|
obj[i].gameObject.AddComponent<MeshCollider>(); |
||||||
|
} |
||||||
|
} |
||||||
|
if (obj[i].name.ToLower().Contains("lt") && |
||||||
|
obj[i].GetComponent<MeshRenderer>() && |
||||||
|
!obj[i].name.ToLower().Contains("lt_name"))//楼梯 |
||||||
|
{ |
||||||
|
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>(); |
||||||
|
} |
||||||
|
CloneableEnums enumParent = obj[i].gameObject.GetComponent<CloneableEnums>(); |
||||||
|
Transform Template = GameObject.Find("TheCarRoad").transform.Find("ShiNeiFloor"); |
||||||
|
var CloneableEnums = Template.GetComponent<CloneableEnums>(); |
||||||
|
enumParent.CloneableTypes = CloneableEnums.CloneableTypes; |
||||||
|
if (obj[i].parent.GetComponent<FloorMessage>()) |
||||||
|
{ |
||||||
|
FloorMessage fmg = obj[i].parent.GetComponent<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; |
||||||
|
} |
||||||
|
if (obj[i].parent.parent.GetComponent<FloorMessage>()) |
||||||
|
{ |
||||||
|
FloorMessage fmg = obj[i].parent.parent.GetComponent<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; |
||||||
|
} |
||||||
|
} |
||||||
|
if (obj[i].name.ToLower().Contains("futi") && |
||||||
|
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>(); |
||||||
|
} |
||||||
|
CloneableEnums enumParent = obj[i].gameObject.GetComponent<CloneableEnums>(); |
||||||
|
Transform Template = GameObject.Find("TheCarRoad").transform.Find("ShiNeiFloor"); |
||||||
|
var CloneableEnums = Template.GetComponent<CloneableEnums>(); |
||||||
|
enumParent.CloneableTypes = CloneableEnums.CloneableTypes; |
||||||
|
if (obj[i].parent.GetComponent<FloorMessage>()) |
||||||
|
{ |
||||||
|
FloorMessage fmg = obj[i].parent.GetComponent<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; |
||||||
|
} |
||||||
|
if (obj[i].parent.parent.GetComponent<FloorMessage>()) |
||||||
|
{ |
||||||
|
FloorMessage fmg = obj[i].parent.parent.GetComponent<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; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
[MenuItem("SceneTool/SetNavLayerShiWaiCarRoad")]//添加寻路层车(前提是将车的寻路层添加layer CarRoad) |
||||||
|
public static void SetNavLayerShiWaiCarRoad() |
||||||
|
{ |
||||||
|
Transform[] obj = Selection.GetTransforms(SelectionMode.Deep); |
||||||
|
for (int i = 0; i < obj.Length; i++) |
||||||
|
{ |
||||||
|
if (obj[i].gameObject.layer == LayerMask.NameToLayer("CarRoad")) |
||||||
|
{ |
||||||
|
if (!obj[i].gameObject.GetComponent<NavMeshModifier>()) |
||||||
|
{ |
||||||
|
//Debug.Log(obj[i].name); |
||||||
|
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>(); |
||||||
|
} |
||||||
|
CloneableEnums enumParent = obj[i].gameObject.GetComponent<CloneableEnums>(); |
||||||
|
Transform Template = GameObject.Find("TheCarRoad").transform; |
||||||
|
var CloneableEnums = Template.GetComponent<CloneableEnums>(); |
||||||
|
enumParent.CloneableTypes = CloneableEnums.CloneableTypes; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
[MenuItem("SceneTool/SetNavLayerShiWaiSoldierRoad")]//添加寻路层车(前提是将车的寻路层添加layer SoliderRoad) |
||||||
|
public static void SetNavLayerShiWaiSoliderRoad() |
||||||
|
{ |
||||||
|
Transform[] obj = Selection.GetTransforms(SelectionMode.Deep); |
||||||
|
for (int i = 0; i < obj.Length; i++) |
||||||
|
{ |
||||||
|
if (obj[i].gameObject.layer == LayerMask.NameToLayer("SoldierRoad")) |
||||||
|
{ |
||||||
|
if (!obj[i].gameObject.GetComponent<NavMeshModifier>()) |
||||||
|
{ |
||||||
|
//Debug.Log(obj[i].name); |
||||||
|
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>(); |
||||||
|
} |
||||||
|
CloneableEnums enumParent = obj[i].gameObject.GetComponent<CloneableEnums>(); |
||||||
|
Transform Template = GameObject.Find("TheCarRoad").transform.Find("ShiWaiSolider"); |
||||||
|
var CloneableEnums = Template.GetComponent<CloneableEnums>(); |
||||||
|
enumParent.CloneableTypes = CloneableEnums.CloneableTypes; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
[MenuItem("SceneTool/RemoveColider")]//移除碰撞器 |
||||||
|
public static void RemoveColider() |
||||||
|
{ |
||||||
|
Transform[] obj = Selection.GetTransforms(SelectionMode.Deep); |
||||||
|
{ |
||||||
|
for (int i = 0; i < obj.Length; i++) |
||||||
|
{ |
||||||
|
if (obj[i].GetComponent<MeshRenderer>()) |
||||||
|
{ |
||||||
|
if (obj[i].GetComponent<MeshCollider>()) |
||||||
|
{ |
||||||
|
UnityEngine.Object.DestroyImmediate(obj[i].GetComponent<MeshCollider>(), true); |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
[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("snxh") && |
||||||
|
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>(); |
||||||
|
} |
||||||
|
if (obj[i].gameObject.GetComponent<CloneGameObjInfo>().gameObjID == 0) |
||||||
|
{ |
||||||
|
long staticGameObjId = (long)GUID.NewGuid(1, 1); |
||||||
|
obj[i].gameObject.GetComponent<CloneGameObjInfo>().SetGameObjID(staticGameObjId); |
||||||
|
} |
||||||
|
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<CloneableEnums>()) |
||||||
|
{ |
||||||
|
obj[i].gameObject.AddComponent<CloneableEnums>(); |
||||||
|
} |
||||||
|
CloneableEnums enumParent = obj[i].gameObject.GetComponent<CloneableEnums>(); |
||||||
|
|
||||||
|
List<CloneObjType> EnumsList = new List<CloneObjType>() { |
||||||
|
CloneObjType.FireHose |
||||||
|
}; |
||||||
|
enumParent.CloneableTypes = EnumsList; |
||||||
|
if (obj[i].parent.GetComponent<FloorMessage>()) |
||||||
|
{ |
||||||
|
FloorMessage fmg = obj[i].parent.GetComponent<FloorMessage>(); |
||||||
|
obj[i].gameObject.GetComponent<CloneGameObjInfo>().gameObjType = CloneObjType.IndoorFireHydrant; |
||||||
|
obj[i].gameObject.GetComponent<CloneGameObjInfo>().buildNum = fmg.buildNum; |
||||||
|
obj[i].gameObject.GetComponent<CloneGameObjInfo>().floorNum = fmg.floorNum; |
||||||
|
obj[i].gameObject.GetComponent<CloneGameObjInfo>().interlayerNum = fmg.interlayerNum; |
||||||
|
} |
||||||
|
if (obj[i].parent.parent.GetComponent<FloorMessage>()) |
||||||
|
{ |
||||||
|
FloorMessage fmg = obj[i].parent.parent.GetComponent<FloorMessage>(); |
||||||
|
obj[i].gameObject.GetComponent<CloneGameObjInfo>().gameObjType = CloneObjType.IndoorFireHydrant; |
||||||
|
obj[i].gameObject.GetComponent<CloneGameObjInfo>().buildNum = fmg.buildNum; |
||||||
|
obj[i].gameObject.GetComponent<CloneGameObjInfo>().floorNum = fmg.floorNum; |
||||||
|
obj[i].gameObject.GetComponent<CloneGameObjInfo>().interlayerNum = fmg.interlayerNum; |
||||||
|
} |
||||||
|
if (obj[i].parent.parent.parent.GetComponent<FloorMessage>()) |
||||||
|
{ |
||||||
|
FloorMessage fmg = obj[i].parent.parent.parent.GetComponent<FloorMessage>(); |
||||||
|
obj[i].gameObject.GetComponent<CloneGameObjInfo>().gameObjType = CloneObjType.IndoorFireHydrant; |
||||||
|
obj[i].gameObject.GetComponent<CloneGameObjInfo>().buildNum = fmg.buildNum; |
||||||
|
obj[i].gameObject.GetComponent<CloneGameObjInfo>().floorNum = fmg.floorNum; |
||||||
|
obj[i].gameObject.GetComponent<CloneGameObjInfo>().interlayerNum = fmg.interlayerNum; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,11 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 897c231eaac7aa04686627c31697e0ad |
||||||
|
MonoImporter: |
||||||
|
externalObjects: {} |
||||||
|
serializedVersion: 2 |
||||||
|
defaultReferences: [] |
||||||
|
executionOrder: 0 |
||||||
|
icon: {instanceID: 0} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,185 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!1 &1448480874978764806 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 2036843565592825570} |
||||||
|
- component: {fileID: 4192392774204234242} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: ShiWaiLouDing |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &2036843565592825570 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 1448480874978764806} |
||||||
|
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_Children: [] |
||||||
|
m_Father: {fileID: 1375686834103553258} |
||||||
|
m_RootOrder: 2 |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!114 &4192392774204234242 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 1448480874978764806} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: b133d14efd54f9841a1659ef37479be7, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
CloneableTypes: c8000000ca000000cb000000cc000000d0000000d10000002c0100005f01000060010000610100006401000067010000680100006a0100006b01000090010000d200000071010000260200002702000028020000290200002a0200002b0200002c0200002d0200002e0200002f02000030020000640200006502000066020000670200006802000069020000 |
||||||
|
isHandleCloneHitPoint: 0 |
||||||
|
--- !u!1 &3862791060661072280 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 5957534287860957307} |
||||||
|
- component: {fileID: 2554234015808576151} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: ShiNeiFloor |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &5957534287860957307 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 3862791060661072280} |
||||||
|
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_Children: [] |
||||||
|
m_Father: {fileID: 1375686834103553258} |
||||||
|
m_RootOrder: 0 |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!114 &2554234015808576151 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 3862791060661072280} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: b133d14efd54f9841a1659ef37479be7, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
CloneableTypes: c8000000ca000000cb000000cc000000d0000000d10000002c0100005f01000060010000610100006401000067010000680100006a0100006b01000090010000d200000071010000260200002702000028020000290200002a0200002b0200002c0200002d0200002e0200002f02000030020000640200006502000066020000670200006802000069020000 |
||||||
|
isHandleCloneHitPoint: 0 |
||||||
|
--- !u!1 &5062027077239370685 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 1375686834103553258} |
||||||
|
- component: {fileID: 3247774623453244617} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: CarRoad |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &1375686834103553258 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 5062027077239370685} |
||||||
|
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_Children: |
||||||
|
- {fileID: 5957534287860957307} |
||||||
|
- {fileID: 5214412471344223968} |
||||||
|
- {fileID: 2036843565592825570} |
||||||
|
m_Father: {fileID: 0} |
||||||
|
m_RootOrder: 0 |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!114 &3247774623453244617 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 5062027077239370685} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: b133d14efd54f9841a1659ef37479be7, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
CloneableTypes: c8000000ca000000cb000000cc000000d0000000d1000000fa000000fb000000fc000000fd000000fe000000ff000000000100000101000002010000030100000401000005010000060100000701000008010000090100000a0100000b0100000c0100000d0100002c0100002d0100002e0100002f0100005e0100005f010000600100006101000062010000630100006401000065010000660100006701000068010000690100006a0100006b0100006c0100006e0100006f0100007001000090010000d200000071010000260200002702000028020000290200002a0200002b0200002c0200002d0200002e0200002f0200003002000058020000590200005a0200005b0200005c0200005d0200005e0200005f02000060020000610200006202000063020000640200006502000066020000670200006802000069020000 |
||||||
|
isHandleCloneHitPoint: 0 |
||||||
|
--- !u!1 &5776162328859091251 |
||||||
|
GameObject: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
serializedVersion: 6 |
||||||
|
m_Component: |
||||||
|
- component: {fileID: 5214412471344223968} |
||||||
|
- component: {fileID: 8791578464750648927} |
||||||
|
m_Layer: 0 |
||||||
|
m_Name: ShiWaiSolider |
||||||
|
m_TagString: Untagged |
||||||
|
m_Icon: {fileID: 0} |
||||||
|
m_NavMeshLayer: 0 |
||||||
|
m_StaticEditorFlags: 0 |
||||||
|
m_IsActive: 1 |
||||||
|
--- !u!4 &5214412471344223968 |
||||||
|
Transform: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 5776162328859091251} |
||||||
|
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_Children: [] |
||||||
|
m_Father: {fileID: 1375686834103553258} |
||||||
|
m_RootOrder: 1 |
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
||||||
|
--- !u!114 &8791578464750648927 |
||||||
|
MonoBehaviour: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_CorrespondingSourceObject: {fileID: 0} |
||||||
|
m_PrefabInstance: {fileID: 0} |
||||||
|
m_PrefabAsset: {fileID: 0} |
||||||
|
m_GameObject: {fileID: 5776162328859091251} |
||||||
|
m_Enabled: 1 |
||||||
|
m_EditorHideFlags: 0 |
||||||
|
m_Script: {fileID: 11500000, guid: b133d14efd54f9841a1659ef37479be7, type: 3} |
||||||
|
m_Name: |
||||||
|
m_EditorClassIdentifier: |
||||||
|
CloneableTypes: c8000000ca000000cb000000cc000000d0000000d10000002c0100002d0100002f0100005e0100005f010000600100006101000062010000630100006401000065010000660100006701000068010000690100006a0100006b0100006c0100006e0100006f010000700100009001000071010000d2000000260200002702000028020000290200002a0200002c0200002d0200002e0200002f020000640200006502000066020000670200006802000069020000300200002b020000 |
||||||
|
isHandleCloneHitPoint: 0 |
@ -0,0 +1,7 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: b6368959a808e804c9e4a1afe87a6abd |
||||||
|
PrefabImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: c618cece409bd7a448aa62abfb1c559d |
||||||
|
folderAsset: yes |
||||||
|
DefaultImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: abb3c841e2499454d844a7eb604a4f60 |
||||||
|
folderAsset: yes |
||||||
|
DefaultImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: fda54cb2c97c62842b6890661177965c |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 23800000 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
Binary file not shown.
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 7468e5cc14f86ee45bac2dc2e4364ef3 |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 23800000 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -1,183 +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: 9 |
|
||||||
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: 10304, guid: 0000000000000000f000000000000000, type: 0} |
|
||||||
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_IndirectSpecularColor: {r: 0.37311953, g: 0.38074014, b: 0.3587274, a: 1} |
|
||||||
m_UseRadianceAmbientProbe: 0 |
|
||||||
--- !u!157 &3 |
|
||||||
LightmapSettings: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
serializedVersion: 11 |
|
||||||
m_GIWorkflowMode: 0 |
|
||||||
m_GISettings: |
|
||||||
serializedVersion: 2 |
|
||||||
m_BounceScale: 1 |
|
||||||
m_IndirectOutputScale: 1 |
|
||||||
m_AlbedoBoost: 1 |
|
||||||
m_EnvironmentLightingMode: 0 |
|
||||||
m_EnableBakedLightmaps: 1 |
|
||||||
m_EnableRealtimeLightmaps: 1 |
|
||||||
m_LightmapEditorSettings: |
|
||||||
serializedVersion: 10 |
|
||||||
m_Resolution: 2 |
|
||||||
m_BakeResolution: 40 |
|
||||||
m_AtlasSize: 1024 |
|
||||||
m_AO: 0 |
|
||||||
m_AOMaxDistance: 1 |
|
||||||
m_CompAOExponent: 1 |
|
||||||
m_CompAOExponentDirect: 0 |
|
||||||
m_Padding: 2 |
|
||||||
m_LightmapParameters: {fileID: 0} |
|
||||||
m_LightmapsBakeMode: 1 |
|
||||||
m_TextureCompression: 1 |
|
||||||
m_FinalGather: 0 |
|
||||||
m_FinalGatherFiltering: 1 |
|
||||||
m_FinalGatherRayCount: 256 |
|
||||||
m_ReflectionCompression: 2 |
|
||||||
m_MixedBakeMode: 2 |
|
||||||
m_BakeBackend: 1 |
|
||||||
m_PVRSampling: 1 |
|
||||||
m_PVRDirectSampleCount: 32 |
|
||||||
m_PVRSampleCount: 500 |
|
||||||
m_PVRBounces: 2 |
|
||||||
m_PVRFilterTypeDirect: 0 |
|
||||||
m_PVRFilterTypeIndirect: 0 |
|
||||||
m_PVRFilterTypeAO: 0 |
|
||||||
m_PVRFilteringMode: 1 |
|
||||||
m_PVRCulling: 1 |
|
||||||
m_PVRFilteringGaussRadiusDirect: 1 |
|
||||||
m_PVRFilteringGaussRadiusIndirect: 5 |
|
||||||
m_PVRFilteringGaussRadiusAO: 2 |
|
||||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5 |
|
||||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2 |
|
||||||
m_PVRFilteringAtrousPositionSigmaAO: 1 |
|
||||||
m_ShowResolutionOverlay: 1 |
|
||||||
m_LightingDataAsset: {fileID: 0} |
|
||||||
m_UseShadowmask: 1 |
|
||||||
--- !u!196 &4 |
|
||||||
NavMeshSettings: |
|
||||||
serializedVersion: 2 |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
m_BuildSettings: |
|
||||||
serializedVersion: 2 |
|
||||||
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 |
|
||||||
accuratePlacement: 0 |
|
||||||
debug: |
|
||||||
m_Flags: 0 |
|
||||||
m_NavMeshData: {fileID: 0} |
|
||||||
--- !u!1001 &9005946784857151736 |
|
||||||
PrefabInstance: |
|
||||||
m_ObjectHideFlags: 0 |
|
||||||
serializedVersion: 2 |
|
||||||
m_Modification: |
|
||||||
m_TransformParent: {fileID: 0} |
|
||||||
m_Modifications: |
|
||||||
- target: {fileID: 4519447487557881705, guid: 2e5a74d68e7b6764ea8ca3cbb4a1ccbb, |
|
||||||
type: 3} |
|
||||||
propertyPath: m_LocalPosition.x |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 4519447487557881705, guid: 2e5a74d68e7b6764ea8ca3cbb4a1ccbb, |
|
||||||
type: 3} |
|
||||||
propertyPath: m_LocalPosition.y |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 4519447487557881705, guid: 2e5a74d68e7b6764ea8ca3cbb4a1ccbb, |
|
||||||
type: 3} |
|
||||||
propertyPath: m_LocalPosition.z |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 4519447487557881705, guid: 2e5a74d68e7b6764ea8ca3cbb4a1ccbb, |
|
||||||
type: 3} |
|
||||||
propertyPath: m_LocalRotation.x |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 4519447487557881705, guid: 2e5a74d68e7b6764ea8ca3cbb4a1ccbb, |
|
||||||
type: 3} |
|
||||||
propertyPath: m_LocalRotation.y |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 4519447487557881705, guid: 2e5a74d68e7b6764ea8ca3cbb4a1ccbb, |
|
||||||
type: 3} |
|
||||||
propertyPath: m_LocalRotation.z |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 4519447487557881705, guid: 2e5a74d68e7b6764ea8ca3cbb4a1ccbb, |
|
||||||
type: 3} |
|
||||||
propertyPath: m_LocalRotation.w |
|
||||||
value: 1 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 4519447487557881705, guid: 2e5a74d68e7b6764ea8ca3cbb4a1ccbb, |
|
||||||
type: 3} |
|
||||||
propertyPath: m_RootOrder |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 4519447487557881705, guid: 2e5a74d68e7b6764ea8ca3cbb4a1ccbb, |
|
||||||
type: 3} |
|
||||||
propertyPath: m_LocalEulerAnglesHint.x |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 4519447487557881705, guid: 2e5a74d68e7b6764ea8ca3cbb4a1ccbb, |
|
||||||
type: 3} |
|
||||||
propertyPath: m_LocalEulerAnglesHint.y |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 4519447487557881705, guid: 2e5a74d68e7b6764ea8ca3cbb4a1ccbb, |
|
||||||
type: 3} |
|
||||||
propertyPath: m_LocalEulerAnglesHint.z |
|
||||||
value: 0 |
|
||||||
objectReference: {fileID: 0} |
|
||||||
- target: {fileID: 8324227766225160948, guid: 2e5a74d68e7b6764ea8ca3cbb4a1ccbb, |
|
||||||
type: 3} |
|
||||||
propertyPath: m_Name |
|
||||||
value: ScenesAll |
|
||||||
objectReference: {fileID: 0} |
|
||||||
m_RemovedComponents: [] |
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: 2e5a74d68e7b6764ea8ca3cbb4a1ccbb, type: 3} |
|
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 17e79cd30c3e8144dbe359b67e1d1f55 |
||||||
|
folderAsset: yes |
||||||
|
DefaultImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 7ce143df790e14143b530dadd5bcea73 |
||||||
|
folderAsset: yes |
||||||
|
DefaultImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 315e1d55e1145264ea920be7e420c243 |
||||||
|
folderAsset: yes |
||||||
|
DefaultImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
Binary file not shown.
@ -0,0 +1,7 @@ |
|||||||
|
ManifestFileVersion: 0 |
||||||
|
CRC: 865744898 |
||||||
|
AssetBundleManifest: |
||||||
|
AssetBundleInfos: |
||||||
|
Info_0: |
||||||
|
Name: buildingscene |
||||||
|
Dependencies: {} |
@ -0,0 +1,7 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: db5a1685809bdc943926560acd1dcf16 |
||||||
|
DefaultImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,7 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: ecbd1c07bbf504040897cb92a7d42f9c |
||||||
|
DefaultImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
Binary file not shown.
@ -0,0 +1,70 @@ |
|||||||
|
ManifestFileVersion: 0 |
||||||
|
CRC: 535329248 |
||||||
|
Hashes: |
||||||
|
AssetFileHash: |
||||||
|
serializedVersion: 2 |
||||||
|
Hash: 1f794042372e81ad45d7ebb08be0deb1 |
||||||
|
TypeTreeHash: |
||||||
|
serializedVersion: 2 |
||||||
|
Hash: 82f9fb1db1c986b98a3538e262547d70 |
||||||
|
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: 108 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: 1e3fdca004f2d45fe8abbed571a8abd5, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: 6eeb5dc026fdf4b488bc7ae0138ab719, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: 9d71527466ad15c4f8756733306d3825, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: cd045cd576d08b7499b4bc0a0d498901, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: b1b3b937514eb774497e3bf22acba90e, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: 0b9c305761a78ca41b5f94428fa22b82, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: 8c17c20b2ca967847b4117564cdc4c84, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: 7a5ac11cc976e418e8d13136b07e1f52, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: e01c388cf4175aa49b4973deb437d754, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: b133d14efd54f9841a1659ef37479be7, type: 3} |
||||||
|
- Class: 114 |
||||||
|
Script: {fileID: 11500000, guid: 49a6ba4f46ec21b4c8a83dce618eda97, type: 3} |
||||||
|
- Class: 115 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 157 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 238 |
||||||
|
Script: {instanceID: 0} |
||||||
|
- Class: 258 |
||||||
|
Script: {instanceID: 0} |
||||||
|
Assets: |
||||||
|
- Assets/Scenes/BuildingScene.unity |
||||||
|
Dependencies: [] |
@ -0,0 +1,7 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 4c2fd34f373845f41a4fa653930d3af4 |
||||||
|
DefaultImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,7 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 83e30d85d78db18438ca2af36b749a29 |
||||||
|
DefaultImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: e47d0f316a120f04a92804b1317c9c4d |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 0 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 06fbd01deb63e1e4cbd0e9b2d0e21cfe |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 0 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 8ab86268781100a428badb0fcc7a4b47 |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 0 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 67b06d7926230ad4d9aaaf426dfa040a |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 0 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: eaf21a2767ea201469ee7b0ee0077b9e |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 0 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 72e2ec4d08686c746bab9d812eff82c1 |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 0 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 2495856fc81273342b20718abc5b5358 |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 0 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 65c9e1abfe2b93c45ae1f07be93d107f |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 0 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,8 @@ |
|||||||
|
%YAML 1.1 |
||||||
|
%TAG !u! tag:unity3d.com,2011: |
||||||
|
--- !u!149 &1 |
||||||
|
NetworkManager: |
||||||
|
m_ObjectHideFlags: 0 |
||||||
|
m_DebugLevel: 0 |
||||||
|
m_Sendrate: 15 |
||||||
|
m_AssetToPrefab: {} |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: a45362b4b9695e04abe3a958c9a205cd |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 0 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 22097d35109497b4f9c0c7f61de10b7c |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 0 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: a4d48fba3b03eef4686b73a8743a841f |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 0 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 6f78f1c71f5ef074688d39ece8b96520 |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 0 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,7 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 58fa42a7f1751a94e94113770580bd7a |
||||||
|
TextScriptImporter: |
||||||
|
externalObjects: {} |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 799235deb1c4f40429e3fe7a410e12cf |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 0 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 28f43d5e5f866364792534fad8b6e9a4 |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 0 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: 34644f9d7fa8e864e80f39bb7fc31b35 |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 0 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
@ -0,0 +1,8 @@ |
|||||||
|
fileFormatVersion: 2 |
||||||
|
guid: f68c950babe892e45a589fb64f1cd691 |
||||||
|
NativeFormatImporter: |
||||||
|
externalObjects: {} |
||||||
|
mainObjectFileID: 0 |
||||||
|
userData: |
||||||
|
assetBundleName: |
||||||
|
assetBundleVariant: |
Loading…
Reference in new issue