From 23f0fdeebc8ce76577add633e9461c832da459c1 Mon Sep 17 00:00:00 2001 From: "DESKTOP-KFV16CV\\cyt" <2268162076@qq.com> Date: Mon, 18 Sep 2023 10:21:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=90=88=E6=88=90=E8=84=9A?= =?UTF-8?q?=E6=9C=AC=E5=B7=A5=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/CloneTypesTemplate.meta | 8 - Assets/CloneTypesTemplate/Editor.meta | 8 - Assets/CloneTypesTemplate/Editor/SceneTool.cs | 486 ------------------ .../Editor/SceneTool.cs.meta | 11 - Assets/CloneTypesTemplate/TheCarRoad.prefab | 185 ------- .../CloneTypesTemplate/TheCarRoad.prefab.meta | 7 - Assets/ShiYanMscPublic.meta | 8 - 7 files changed, 713 deletions(-) delete mode 100644 Assets/CloneTypesTemplate.meta delete mode 100644 Assets/CloneTypesTemplate/Editor.meta delete mode 100644 Assets/CloneTypesTemplate/Editor/SceneTool.cs delete mode 100644 Assets/CloneTypesTemplate/Editor/SceneTool.cs.meta delete mode 100644 Assets/CloneTypesTemplate/TheCarRoad.prefab delete mode 100644 Assets/CloneTypesTemplate/TheCarRoad.prefab.meta delete mode 100644 Assets/ShiYanMscPublic.meta diff --git a/Assets/CloneTypesTemplate.meta b/Assets/CloneTypesTemplate.meta deleted file mode 100644 index 47800c3..0000000 --- a/Assets/CloneTypesTemplate.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b1b174819657f8f41b32618615a59bec -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/CloneTypesTemplate/Editor.meta b/Assets/CloneTypesTemplate/Editor.meta deleted file mode 100644 index 74a61c0..0000000 --- a/Assets/CloneTypesTemplate/Editor.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a688944dd20111445ba6563f5912b431 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/CloneTypesTemplate/Editor/SceneTool.cs b/Assets/CloneTypesTemplate/Editor/SceneTool.cs deleted file mode 100644 index 0efaa16..0000000 --- a/Assets/CloneTypesTemplate/Editor/SceneTool.cs +++ /dev/null @@ -1,486 +0,0 @@ -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 nei = GameObject.Find("shinei").transform; - for (int j = 0; j < nei.childCount; j++) - { - Transform neiParent = GameObject.Find("shinei").transform.GetChild(j); - for (int i = 0; i < neiParent.childCount; i++) - { - //Debug.Log(neiParent.GetChild(i).name); - if (!neiParent.GetChild(i).GetComponent()) - { - neiParent.GetChild(i).gameObject.AddComponent(); - } - FloorMessage msg = neiParent.GetChild(i).GetComponent(); - 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 wai = GameObject.Find("shiwai").transform; - - for (int j = 0; j < wai.childCount; j++) - { - Transform waiParent = GameObject.Find("shiwai").transform.GetChild(j); - for (int i = 0; i < waiParent.childCount; i++) - { - //Debug.Log(waiParent.GetChild(i).name); - if (!waiParent.GetChild(i).GetComponent()) - { - waiParent.GetChild(i).gameObject.AddComponent(); - } - FloorMessage msg = waiParent.GetChild(i).GetComponent(); - 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()) - 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].name.ToLower().Contains("chewei") || - obj[i].name.ToLower().Contains("-floor") && - obj[i].GetComponent()) - { - obj[i].gameObject.layer = LayerMask.NameToLayer("SoldierRoad"); - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - CloneableEnums enumParent = obj[i].gameObject.GetComponent(); - Transform Template = GameObject.Find("TheCarRoad").transform.Find("ShiNeiFloor"); - var CloneableEnums = Template.GetComponent(); - enumParent.CloneableTypes = CloneableEnums.CloneableTypes; - if (obj[i].parent.GetComponent()) - { - FloorMessage fmg = obj[i].parent.GetComponent(); - obj[i].gameObject.GetComponent().gameObjType = CloneObjType.StaticGameObject; - obj[i].gameObject.GetComponent().buildNum = fmg.buildNum; - obj[i].gameObject.GetComponent().floorNum = fmg.floorNum; - obj[i].gameObject.GetComponent().interlayerNum = fmg.interlayerNum; - } - if (obj[i].parent.parent.GetComponent()) - { - FloorMessage fmg = obj[i].parent.parent.GetComponent(); - obj[i].gameObject.GetComponent().gameObjType = CloneObjType.StaticGameObject; - obj[i].gameObject.GetComponent().buildNum = fmg.buildNum; - obj[i].gameObject.GetComponent().floorNum = fmg.floorNum; - obj[i].gameObject.GetComponent().interlayerNum = fmg.interlayerNum; - } - } - if (obj[i].name.ToLower().Contains("_wall") ||//墙面 - obj[i].name.ToLower().Contains("_wall") || - obj[i].name.ToLower().Contains("wall") || - obj[i].name.ToLower().Contains("-wall") && - obj[i].GetComponent()) - { - obj[i].gameObject.layer = LayerMask.NameToLayer("SoldierRoad"); - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - NavMeshModifier mod = obj[i].gameObject.GetComponent(); - mod.overrideArea = true; - mod.area = 1; - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - } - if (obj[i].name.ToLower().Contains("zhuzi") ||//柱子 - obj[i].name.ToLower().Contains("_zhuzi") || - obj[i].name.ToLower().Contains("-zhuzi") && - obj[i].GetComponent()) - { - //Debug.Log(obj[i].name); - obj[i].gameObject.layer = LayerMask.NameToLayer("SoldierRoad"); - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - NavMeshModifier mod = obj[i].gameObject.GetComponent(); - mod.overrideArea = true; - mod.area = 1; - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - } - if (obj[i].name.ToLower().Contains("lt") && - obj[i].GetComponent() && - !obj[i].name.ToLower().Contains("lt_name") && - !obj[i].name.ToLower().Contains("_ltcs"))//楼梯 - { - obj[i].gameObject.layer = LayerMask.NameToLayer("SoldierRoad"); - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - CloneableEnums enumParent = obj[i].gameObject.GetComponent(); - Transform Template = GameObject.Find("TheCarRoad").transform.Find("ShiNeiFloor"); - var CloneableEnums = Template.GetComponent(); - enumParent.CloneableTypes = CloneableEnums.CloneableTypes; - if (obj[i].parent.GetComponent()) - { - FloorMessage fmg = obj[i].parent.GetComponent(); - obj[i].gameObject.GetComponent().gameObjType = CloneObjType.StaticGameObject; - obj[i].gameObject.GetComponent().buildNum = fmg.buildNum; - obj[i].gameObject.GetComponent().floorNum = fmg.floorNum; - obj[i].gameObject.GetComponent().interlayerNum = fmg.interlayerNum; - } - if (obj[i].parent.parent.GetComponent()) - { - FloorMessage fmg = obj[i].parent.parent.GetComponent(); - obj[i].gameObject.GetComponent().gameObjType = CloneObjType.StaticGameObject; - obj[i].gameObject.GetComponent().buildNum = fmg.buildNum; - obj[i].gameObject.GetComponent().floorNum = fmg.floorNum; - obj[i].gameObject.GetComponent().interlayerNum = fmg.interlayerNum; - } - } - if (obj[i].name.ToLower().Contains("ft") && - obj[i].GetComponent() && - !obj[i].name.ToLower().Contains("ft_name") && - !obj[i].name.ToLower().Contains("bf"))//扶梯 - { - obj[i].gameObject.layer = LayerMask.NameToLayer("SoldierRoad"); - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - CloneableEnums enumParent = obj[i].gameObject.GetComponent(); - Transform Template = GameObject.Find("TheCarRoad").transform.Find("ShiNeiFloor"); - var CloneableEnums = Template.GetComponent(); - enumParent.CloneableTypes = CloneableEnums.CloneableTypes; - if (obj[i].parent.GetComponent()) - { - FloorMessage fmg = obj[i].parent.GetComponent(); - obj[i].gameObject.GetComponent().gameObjType = CloneObjType.StaticGameObject; - obj[i].gameObject.GetComponent().buildNum = fmg.buildNum; - obj[i].gameObject.GetComponent().floorNum = fmg.floorNum; - obj[i].gameObject.GetComponent().interlayerNum = fmg.interlayerNum; - } - if (obj[i].parent.parent.GetComponent()) - { - FloorMessage fmg = obj[i].parent.parent.GetComponent(); - obj[i].gameObject.GetComponent().gameObjType = CloneObjType.StaticGameObject; - obj[i].gameObject.GetComponent().buildNum = fmg.buildNum; - obj[i].gameObject.GetComponent().floorNum = fmg.floorNum; - obj[i].gameObject.GetComponent().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()) - { - //Debug.Log(obj[i].name); - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - CloneableEnums enumParent = obj[i].gameObject.GetComponent(); - Transform Template = GameObject.Find("TheCarRoad").transform; - var CloneableEnums = Template.GetComponent(); - 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()) - { - //Debug.Log(obj[i].name); - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - CloneableEnums enumParent = obj[i].gameObject.GetComponent(); - Transform Template = GameObject.Find("TheCarRoad").transform.Find("ShiWaiSolider"); - var CloneableEnums = Template.GetComponent(); - 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()) - { - if (obj[i].GetComponent()) - { - UnityEngine.Object.DestroyImmediate(obj[i].GetComponent(), true); - } - } - } - } - } - [MenuItem("SceneTool/AddColider")]//添加碰撞器 - public static void AddColider() - { - Transform[] obj = Selection.GetTransforms(SelectionMode.Deep); - { - for (int i = 0; i < obj.Length; i++) - { - if (obj[i].GetComponent()) - { - if (!obj[i].GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - } - } - } - } - [MenuItem("SceneTool/ChangeMessage")]//添加碰撞器 - public static void ChangeMessage() - { - Transform[] obj = Selection.GetTransforms(SelectionMode.Deep); - { - for (int i = 0; i < obj.Length; i++) - { - if (obj[i].GetComponent()) - { - if (obj[i].GetComponent().buildNum == "8XGYTC") - { - obj[i].GetComponent().buildNum = "2XGYTC"; - } - - } - } - } - } - [MenuItem("SceneTool/RemoveAnimator")]//移除碰撞器 - public static void RemoveAnimator() - { - Transform[] obj = Selection.GetTransforms(SelectionMode.Deep); - { - for (int i = 0; i < obj.Length; i++) - { - if (obj[i].GetComponent()) - { - if (obj[i].GetComponent()) - { - UnityEngine.Object.DestroyImmediate(obj[i].GetComponent(), 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("xhs") && - !obj[i].name.ToLower().Contains("xhs_name") && - !obj[i].name.ToLower().Contains("xhs_wz") && - !obj[i].name.ToLower().Contains("xhs-wz") && - obj[i].GetComponent()) - { - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - if (obj[i].GetComponent()) - { - if (obj[i].GetComponent()) - { - UnityEngine.Object.DestroyImmediate(obj[i].GetComponent(), true); - } - } - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - if (obj[i].gameObject.GetComponent().gameObjID == 0) - { - long staticGameObjId = (long)GUID.NewGuid(1, 1); - obj[i].gameObject.GetComponent().SetGameObjID(staticGameObjId); - } - obj[i].gameObject.GetComponent().gameObjType = CloneObjType.IndoorFireHydrant; - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - if (!obj[i].gameObject.GetComponent()) - { - obj[i].gameObject.AddComponent(); - } - CloneableEnums enumParent = obj[i].gameObject.GetComponent(); - - List EnumsList = new List() { - CloneObjType.FireHose - }; - enumParent.CloneableTypes = EnumsList; - if (obj[i].parent.GetComponent()) - { - FloorMessage fmg = obj[i].parent.GetComponent(); - obj[i].gameObject.GetComponent().gameObjType = CloneObjType.IndoorFireHydrant; - obj[i].gameObject.GetComponent().buildNum = fmg.buildNum; - obj[i].gameObject.GetComponent().floorNum = fmg.floorNum; - obj[i].gameObject.GetComponent().interlayerNum = fmg.interlayerNum; - } - if (obj[i].parent.parent.GetComponent()) - { - FloorMessage fmg = obj[i].parent.parent.GetComponent(); - obj[i].gameObject.GetComponent().gameObjType = CloneObjType.IndoorFireHydrant; - obj[i].gameObject.GetComponent().buildNum = fmg.buildNum; - obj[i].gameObject.GetComponent().floorNum = fmg.floorNum; - obj[i].gameObject.GetComponent().interlayerNum = fmg.interlayerNum; - } - if (obj[i].parent.parent.parent.GetComponent()) - { - FloorMessage fmg = obj[i].parent.parent.parent.GetComponent(); - obj[i].gameObject.GetComponent().gameObjType = CloneObjType.IndoorFireHydrant; - obj[i].gameObject.GetComponent().buildNum = fmg.buildNum; - obj[i].gameObject.GetComponent().floorNum = fmg.floorNum; - obj[i].gameObject.GetComponent().interlayerNum = fmg.interlayerNum; - } - } - } - } -} \ No newline at end of file diff --git a/Assets/CloneTypesTemplate/Editor/SceneTool.cs.meta b/Assets/CloneTypesTemplate/Editor/SceneTool.cs.meta deleted file mode 100644 index 1d55379..0000000 --- a/Assets/CloneTypesTemplate/Editor/SceneTool.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 897c231eaac7aa04686627c31697e0ad -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/CloneTypesTemplate/TheCarRoad.prefab b/Assets/CloneTypesTemplate/TheCarRoad.prefab deleted file mode 100644 index 687338b..0000000 --- a/Assets/CloneTypesTemplate/TheCarRoad.prefab +++ /dev/null @@ -1,185 +0,0 @@ -%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: c8000000ca000000cb000000cc000000d0000000d10000002c0100005f01000060010000610100006401000067010000680100006a0100006b01000090010000d200000071010000260200002702000028020000290200002a0200002b0200002c0200002d0200002e0200002f020000300200006402000065020000660200006702000068020000690200006a0200006b020000 - 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: TheCarRoad - 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: c8000000ca000000cb000000cc000000d0000000d1000000fa000000fb000000fc000000fd000000fe000000ff000000000100000101000002010000030100000401000005010000060100000701000008010000090100000a0100000b0100000c0100000d0100002c0100002d0100002e0100002f0100005e0100005f010000600100006101000062010000630100006401000065010000660100006701000068010000690100006a0100006b0100006c0100006e0100006f0100007001000090010000d200000071010000260200002702000028020000290200002a0200002b0200002c0200002d0200002e0200002f0200003002000058020000590200005a0200005b0200005c0200005d0200005e0200005f020000600200006102000062020000630200006402000065020000660200006702000068020000690200006a0200006b020000 - 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 diff --git a/Assets/CloneTypesTemplate/TheCarRoad.prefab.meta b/Assets/CloneTypesTemplate/TheCarRoad.prefab.meta deleted file mode 100644 index 68934b8..0000000 --- a/Assets/CloneTypesTemplate/TheCarRoad.prefab.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b6368959a808e804c9e4a1afe87a6abd -PrefabImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ShiYanMscPublic.meta b/Assets/ShiYanMscPublic.meta deleted file mode 100644 index 636545d..0000000 --- a/Assets/ShiYanMscPublic.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8cc77c12d104a3c4590cbff25c5f7102 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: