From ef3eef7670237f92b693c2fd14021cb60fa1a81a Mon Sep 17 00:00:00 2001 From: Ino Date: Mon, 17 Mar 2025 08:03:53 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9B=A8=EC=9D=B4=ED=8F=AC=EC=9D=B8=ED=8A=B8?= =?UTF-8?q?=20=ED=8F=AC=ED=83=88=20=EB=AA=B8=EC=9C=BC=EB=A1=9C=20=ED=84=B0?= =?UTF-8?q?=EC=B9=98=20=EC=8B=9C=20=EC=9B=A8=EC=9D=B4=ED=8F=AC=EC=9D=B8?= =?UTF-8?q?=ED=8A=B8=20=EC=9D=B4=EB=8F=99=20UI=20=EB=85=B8=EC=B6=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Ino_nerdnavis.txt | 9 +- Assets/ResWork/Prefabs/map.meta | 8 + Assets/ResWork/Prefabs/map/WayPoint.prefab | 68 +++ .../ResWork/Prefabs/map/WayPoint.prefab.meta | 7 + Assets/Res_Addr/Map/Map_C01.prefab | 420 +++++++++++++++++- Assets/Script/Map/WayPointPortal.cs | 15 + Assets/Script/Map/WayPointPortal.cs.meta | 11 + 7 files changed, 530 insertions(+), 8 deletions(-) create mode 100644 Assets/ResWork/Prefabs/map.meta create mode 100644 Assets/ResWork/Prefabs/map/WayPoint.prefab create mode 100644 Assets/ResWork/Prefabs/map/WayPoint.prefab.meta create mode 100644 Assets/Script/Map/WayPointPortal.cs create mode 100644 Assets/Script/Map/WayPointPortal.cs.meta diff --git a/Assets/Ino_nerdnavis.txt b/Assets/Ino_nerdnavis.txt index 18a63c0fd..cea70dac9 100644 --- a/Assets/Ino_nerdnavis.txt +++ b/Assets/Ino_nerdnavis.txt @@ -68,6 +68,9 @@ messageinfo 엄청 느린 버그 2챕터 맵 배치 - 포탈, 필드보스, 부활의 성소, 챕터보스 -웨이포인트 포탈 몸으로 터치 시 웨이포인트 이동 UI 노출 - - 던전 이동은 못하게 - +미션 + - 가이드 + - 업적 + - 주간 + - 일간 + - 테이블 만들기 \ No newline at end of file diff --git a/Assets/ResWork/Prefabs/map.meta b/Assets/ResWork/Prefabs/map.meta new file mode 100644 index 000000000..575636367 --- /dev/null +++ b/Assets/ResWork/Prefabs/map.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7aa1d0b714edffb4396ddd633398cac7 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/ResWork/Prefabs/map/WayPoint.prefab b/Assets/ResWork/Prefabs/map/WayPoint.prefab new file mode 100644 index 000000000..a5d4e4ed4 --- /dev/null +++ b/Assets/ResWork/Prefabs/map/WayPoint.prefab @@ -0,0 +1,68 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &2121986366537117075 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 8711114934027082283} + - component: {fileID: 237499385805748129} + - component: {fileID: 407610926145930470} + m_Layer: 0 + m_Name: WayPoint + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &8711114934027082283 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2121986366537117075} + 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: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &237499385805748129 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2121986366537117075} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fda87a10ebe487d4a93a378c465d4c74, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!65 &407610926145930470 +BoxCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 2121986366537117075} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 1 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Size: {x: 2, y: 2, z: 0.1} + m_Center: {x: 0, y: 0, z: 0} diff --git a/Assets/ResWork/Prefabs/map/WayPoint.prefab.meta b/Assets/ResWork/Prefabs/map/WayPoint.prefab.meta new file mode 100644 index 000000000..1c063c32e --- /dev/null +++ b/Assets/ResWork/Prefabs/map/WayPoint.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: a076d8780d2647046bb1c1d374bdd1b2 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Res_Addr/Map/Map_C01.prefab b/Assets/Res_Addr/Map/Map_C01.prefab index 279265859..326e9a24c 100644 --- a/Assets/Res_Addr/Map/Map_C01.prefab +++ b/Assets/Res_Addr/Map/Map_C01.prefab @@ -69915,7 +69915,11 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] - m_AddedGameObjects: [] + m_AddedGameObjects: + - targetCorrespondingSourceObject: {fileID: 960630095900046633, guid: 73c6a05b987c3214f9d0c6ae8a803da6, + type: 3} + insertIndex: -1 + addedObject: {fileID: 360850516584261710} m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 73c6a05b987c3214f9d0c6ae8a803da6, type: 3} --- !u!4 &396793110208142729 stripped @@ -70095,6 +70099,164 @@ GameObject: type: 3} m_PrefabInstance: {fileID: 648770962561872153} m_PrefabAsset: {fileID: 0} +--- !u!1001 &679194594163766551 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 4910942941962721861} + m_Modifications: + - target: {fileID: 237499385805748129, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_WayIndex + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 2121986366537117075, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_Name + value: WayPoint + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: a076d8780d2647046bb1c1d374bdd1b2, type: 3} +--- !u!4 &8181038327528943420 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + m_PrefabInstance: {fileID: 679194594163766551} + m_PrefabAsset: {fileID: 0} +--- !u!1001 &764452144557089799 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 6345634200917290019} + m_Modifications: + - target: {fileID: 237499385805748129, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_WayIndex + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2121986366537117075, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_Name + value: WayPoint + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: a076d8780d2647046bb1c1d374bdd1b2, type: 3} +--- !u!4 &8250587704791973420 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + m_PrefabInstance: {fileID: 764452144557089799} + m_PrefabAsset: {fileID: 0} --- !u!1001 &924360143066898435 PrefabInstance: m_ObjectHideFlags: 0 @@ -70195,7 +70357,11 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] - m_AddedGameObjects: [] + m_AddedGameObjects: + - targetCorrespondingSourceObject: {fileID: 960630095900046633, guid: 73c6a05b987c3214f9d0c6ae8a803da6, + type: 3} + insertIndex: -1 + addedObject: {fileID: 7688177556085918684} m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 73c6a05b987c3214f9d0c6ae8a803da6, type: 3} --- !u!4 &110104392692389162 stripped @@ -70290,6 +70456,80 @@ MeshRenderer: type: 3} m_PrefabInstance: {fileID: 1149352578713750219} m_PrefabAsset: {fileID: 0} +--- !u!1001 &1321239288140599799 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 110104392692389162} + m_Modifications: + - target: {fileID: 2121986366537117075, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_Name + value: WayPoint + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: a076d8780d2647046bb1c1d374bdd1b2, type: 3} +--- !u!4 &7688177556085918684 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + m_PrefabInstance: {fileID: 1321239288140599799} + m_PrefabAsset: {fileID: 0} --- !u!1001 &2018861380561876656 PrefabInstance: m_ObjectHideFlags: 0 @@ -70695,6 +70935,85 @@ Transform: type: 3} m_PrefabInstance: {fileID: 4229986314926134379} m_PrefabAsset: {fileID: 0} +--- !u!1001 &4284723204476939581 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 4772969925355295572} + m_Modifications: + - target: {fileID: 237499385805748129, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_WayIndex + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 2121986366537117075, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_Name + value: WayPoint + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: a076d8780d2647046bb1c1d374bdd1b2, type: 3} +--- !u!4 &4869092602322908950 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + m_PrefabInstance: {fileID: 4284723204476939581} + m_PrefabAsset: {fileID: 0} --- !u!1001 &4501297671721810474 PrefabInstance: m_ObjectHideFlags: 0 @@ -71285,7 +71604,11 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] - m_AddedGameObjects: [] + m_AddedGameObjects: + - targetCorrespondingSourceObject: {fileID: 960630095900046633, guid: 73c6a05b987c3214f9d0c6ae8a803da6, + type: 3} + insertIndex: -1 + addedObject: {fileID: 8181038327528943420} m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 73c6a05b987c3214f9d0c6ae8a803da6, type: 3} --- !u!1 &3459536845717747619 stripped @@ -71400,7 +71723,11 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] - m_AddedGameObjects: [] + m_AddedGameObjects: + - targetCorrespondingSourceObject: {fileID: 960630095900046633, guid: 73c6a05b987c3214f9d0c6ae8a803da6, + type: 3} + insertIndex: -1 + addedObject: {fileID: 4869092602322908950} m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 73c6a05b987c3214f9d0c6ae8a803da6, type: 3} --- !u!1 &3898265851319238322 stripped @@ -71675,7 +72002,11 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_RemovedGameObjects: [] - m_AddedGameObjects: [] + m_AddedGameObjects: + - targetCorrespondingSourceObject: {fileID: 960630095900046633, guid: 73c6a05b987c3214f9d0c6ae8a803da6, + type: 3} + insertIndex: -1 + addedObject: {fileID: 8250587704791973420} m_AddedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: 73c6a05b987c3214f9d0c6ae8a803da6, type: 3} --- !u!1 &3185639606162375109 stripped @@ -72669,6 +73000,85 @@ MeshRenderer: type: 3} m_PrefabInstance: {fileID: 8717855686913266742} m_PrefabAsset: {fileID: 0} +--- !u!1001 &9071911299395203685 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 396793110208142729} + m_Modifications: + - target: {fileID: 237499385805748129, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_WayIndex + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 2121986366537117075, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_Name + value: WayPoint + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: [] + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: a076d8780d2647046bb1c1d374bdd1b2, type: 3} +--- !u!4 &360850516584261710 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 8711114934027082283, guid: a076d8780d2647046bb1c1d374bdd1b2, + type: 3} + m_PrefabInstance: {fileID: 9071911299395203685} + m_PrefabAsset: {fileID: 0} --- !u!1001 &9088837650269054014 PrefabInstance: m_ObjectHideFlags: 0 diff --git a/Assets/Script/Map/WayPointPortal.cs b/Assets/Script/Map/WayPointPortal.cs new file mode 100644 index 000000000..4867cf393 --- /dev/null +++ b/Assets/Script/Map/WayPointPortal.cs @@ -0,0 +1,15 @@ +using UnityEngine; + +public class WayPointPortal : MonoBehaviour +{ + public int m_WayIndex; + + private void OnTriggerEnter(Collider other) + { + var pcactor = other.GetComponent(); + if (pcactor && !pcactor.IsEnemy()) + { // 웨이포인트 UI 띄우기 + NewGameUI.Ins.m_MapChoiceUI.Set(); + } + } +} \ No newline at end of file diff --git a/Assets/Script/Map/WayPointPortal.cs.meta b/Assets/Script/Map/WayPointPortal.cs.meta new file mode 100644 index 000000000..51cdf89eb --- /dev/null +++ b/Assets/Script/Map/WayPointPortal.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: fda87a10ebe487d4a93a378c465d4c74 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: