미믹 던전 맵
This commit is contained in:
parent
a76581cc26
commit
22972323f8
|
|
@ -1 +1 @@
|
|||
[{"n_MapID": "맵 ID", "n_Chapter": "챕터 정보", "e_MapType": "맵 타입", "s_Scene": "씬 정보", "s_BGM": "BGM 정보", "e_FindView": "카메라 뷰", "n_MapName": "맵 이름", "s_MapIcon": "맵 아이콘", "n_Portals": "연계 포탈 정보"}, {"n_MapID": "1", "n_Chapter": "-1", "e_MapType": "Lobby", "s_Scene": "Lobby", "s_BGM": "Chapter1", "e_FindView": "ViewCamera", "n_MapName": "1", "s_MapIcon": "Map1", "n_Portals": "0"}, {"n_MapID": "2", "n_Chapter": "0", "e_MapType": "MyFarm", "s_Scene": "MyFarm", "s_BGM": "Chapter1", "e_FindView": "ViewCamera", "n_MapName": "1", "s_MapIcon": "Map2", "n_Portals": "0"}, {"n_MapID": "3", "n_Chapter": "1", "e_MapType": "Stage", "s_Scene": "Map_C01", "s_BGM": "Chapter1", "e_FindView": "ViewCamera", "n_MapName": "1", "s_MapIcon": "Map3", "n_Portals": "1"}, {"n_MapID": "4", "n_Chapter": "2", "e_MapType": "Stage", "s_Scene": "Map_C02", "s_BGM": "Chapter2", "e_FindView": "ViewCamera", "n_MapName": "1", "s_MapIcon": "Map4", "n_Portals": "1"}]
|
||||
[{"n_MapID": "맵 ID", "n_Chapter": "챕터 정보", "e_MapType": "맵 타입", "s_Scene": "씬 정보", "s_BGM": "BGM 정보", "n_MapName": "맵 이름", "n_MapDesc": "맵 설명", "s_MapIcon": "맵 아이콘", "n_Portals": "연계 포탈 정보"}, {"n_MapID": "-1", "n_Chapter": "-1", "e_MapType": "Lobby", "s_Scene": "Lobby", "s_BGM": "Chapter1", "n_MapName": "1", "n_MapDesc": "0", "s_MapIcon": "Map1", "n_Portals": "0"}, {"n_MapID": "0", "n_Chapter": "0", "e_MapType": "MyFarm", "s_Scene": "MyFarm", "s_BGM": "Chapter1", "n_MapName": "1", "n_MapDesc": "0", "s_MapIcon": "Map2", "n_Portals": "0"}, {"n_MapID": "1", "n_Chapter": "1", "e_MapType": "Stage", "s_Scene": "Map_C01", "s_BGM": "Chapter1", "n_MapName": "1", "n_MapDesc": "0", "s_MapIcon": "Map3", "n_Portals": "1"}, {"n_MapID": "2", "n_Chapter": "2", "e_MapType": "Stage", "s_Scene": "Map_C02", "s_BGM": "Chapter2", "n_MapName": "1", "n_MapDesc": "0", "s_MapIcon": "Map4", "n_Portals": "1"}, {"n_MapID": "1001", "n_Chapter": "0", "e_MapType": "Dungeon", "s_Scene": "Map_Mimic", "s_BGM": "Chapter2", "n_MapName": "1001", "n_MapDesc": "1101", "s_MapIcon": "Map", "n_Portals": "1"}, {"n_MapID": "1002", "n_Chapter": "0", "e_MapType": "Dungeon", "s_Scene": "Map_Maze", "s_BGM": "Chapter2", "n_MapName": "1002", "n_MapDesc": "1102", "s_MapIcon": "Map", "n_Portals": "1"}, {"n_MapID": "1003", "n_Chapter": "0", "e_MapType": "Dungeon", "s_Scene": "Map_Nightmare", "s_BGM": "Chapter2", "n_MapName": "1003", "n_MapDesc": "1103", "s_MapIcon": "Map", "n_Portals": "1"}, {"n_MapID": "1004", "n_Chapter": "0", "e_MapType": "Dungeon", "s_Scene": "Map_Wave", "s_BGM": "Chapter2", "n_MapName": "1004", "n_MapDesc": "1104", "s_MapIcon": "Map", "n_Portals": "1"}]
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
|
|
@ -7,17 +7,20 @@ public class WorldMapDungeonCard : CardBase
|
|||
public TextMeshProUGUI[] texts; // 0 던전이름, 1 던전 설명
|
||||
|
||||
eDungeon m_Dungeon;
|
||||
int m_DungeonMapID;
|
||||
|
||||
public override void Set<T>(T _base)
|
||||
{
|
||||
base.Set(_base);
|
||||
m_Dungeon = DSUtil.StringToEnum<eDungeon>(_base.ToString());
|
||||
texts[0].text = m_Dungeon.ToString();
|
||||
texts[1].text = m_Dungeon + "설명 필요";
|
||||
m_DungeonMapID = (int)m_Dungeon + 1001;
|
||||
var Tdata = table_battlemapconfig.Ins.Get_Data(m_DungeonMapID);
|
||||
texts[0].text = Tdata.Get_Name();
|
||||
texts[1].text = Tdata.Get_Desc();
|
||||
}
|
||||
|
||||
public void OnClick_Card()
|
||||
{
|
||||
MapChoiceUI_Dungeon.Ins.Select_Dungeon(m_Dungeon);
|
||||
MapChoiceUI_Dungeon.Ins.Select_Dungeon(m_Dungeon, m_DungeonMapID);
|
||||
}
|
||||
}
|
||||
|
|
@ -22613,9 +22613,9 @@ MonoBehaviour:
|
|||
m_OnClick:
|
||||
m_PersistentCalls:
|
||||
m_Calls:
|
||||
- m_Target: {fileID: 0}
|
||||
m_TargetAssemblyTypeName: MapChoiceUI_WorldMap, Assembly-CSharp
|
||||
m_MethodName: OnClick_Portal
|
||||
- m_Target: {fileID: 5601256889859448277}
|
||||
m_TargetAssemblyTypeName: MapChoiceUI_Dungeon, Assembly-CSharp
|
||||
m_MethodName: OnClick_GoDungeon
|
||||
m_Mode: 1
|
||||
m_Arguments:
|
||||
m_ObjectArgument: {fileID: 0}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,191 @@
|
|||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &1575810727731054304
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 284985024530174331}
|
||||
m_Layer: 0
|
||||
m_Name: startportal
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &284985024530174331
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1575810727731054304}
|
||||
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: 2209133656278579762}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &4452772791588536470
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 2209133656278579762}
|
||||
- component: {fileID: 9052214908571725354}
|
||||
m_Layer: 0
|
||||
m_Name: Map_Mimic
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &2209133656278579762
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4452772791588536470}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 2514031787644145695}
|
||||
- {fileID: 284985024530174331}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!114 &9052214908571725354
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4452772791588536470}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 2c867b26113834943a33c665b818ff61, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
material_skybox: {fileID: 2100000, guid: aa87107d0c3535c4983a4edb2d0e9f7b, type: 2}
|
||||
m_MapZoneData:
|
||||
- go_portal: {fileID: 1575810727731054304}
|
||||
go_reincarnation: {fileID: 1575810727731054304}
|
||||
tf_Farmer: {fileID: 0}
|
||||
tf_Obj: []
|
||||
--- !u!1 &8847034768703182847
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 2514031787644145695}
|
||||
- component: {fileID: 415392405150482649}
|
||||
- component: {fileID: 3470917108600931210}
|
||||
- component: {fileID: 7858124019990121049}
|
||||
m_Layer: 0
|
||||
m_Name: Plane
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &2514031787644145695
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8847034768703182847}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 2, y: 1, z: 2}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 2209133656278579762}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!33 &415392405150482649
|
||||
MeshFilter:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8847034768703182847}
|
||||
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
|
||||
--- !u!23 &3470917108600931210
|
||||
MeshRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8847034768703182847}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 1
|
||||
m_ReceiveShadows: 1
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 2
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 3
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_AdditionalVertexStreams: {fileID: 0}
|
||||
--- !u!64 &7858124019990121049
|
||||
MeshCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8847034768703182847}
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_LayerOverridePriority: 0
|
||||
m_IsTrigger: 0
|
||||
m_ProvidesContacts: 0
|
||||
m_Enabled: 1
|
||||
serializedVersion: 5
|
||||
m_Convex: 0
|
||||
m_CookingOptions: 30
|
||||
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 08940dc1280b5de43872612680759c89
|
||||
PrefabImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 0256dffe395289940b8b083195707d97
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -0,0 +1,178 @@
|
|||
%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.39219293, g: 0.39526758, b: 0.45588237, a: 1}
|
||||
m_FogMode: 3
|
||||
m_FogDensity: 0.0004
|
||||
m_LinearFogStart: 0
|
||||
m_LinearFogEnd: 300
|
||||
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
|
||||
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
|
||||
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
|
||||
m_AmbientIntensity: 1
|
||||
m_AmbientMode: 0
|
||||
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
|
||||
m_SkyboxMaterial: {fileID: 2100000, guid: 5ba172cd3918d7c44aa6d04446119a00, type: 2}
|
||||
m_HaloStrength: 0.5
|
||||
m_FlareStrength: 1
|
||||
m_FlareFadeSpeed: 3
|
||||
m_HaloTexture: {fileID: 0}
|
||||
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_DefaultReflectionMode: 0
|
||||
m_DefaultReflectionResolution: 128
|
||||
m_ReflectionBounces: 1
|
||||
m_ReflectionIntensity: 1
|
||||
m_CustomReflection: {fileID: 0}
|
||||
m_Sun: {fileID: 0}
|
||||
m_UseRadianceAmbientProbe: 0
|
||||
--- !u!157 &3
|
||||
LightmapSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 12
|
||||
m_GIWorkflowMode: 0
|
||||
m_GISettings:
|
||||
serializedVersion: 2
|
||||
m_BounceScale: 1
|
||||
m_IndirectOutputScale: 1
|
||||
m_AlbedoBoost: 1
|
||||
m_EnvironmentLightingMode: 0
|
||||
m_EnableBakedLightmaps: 0
|
||||
m_EnableRealtimeLightmaps: 0
|
||||
m_LightmapEditorSettings:
|
||||
serializedVersion: 12
|
||||
m_Resolution: 0.1
|
||||
m_BakeResolution: 40
|
||||
m_AtlasSize: 1024
|
||||
m_AO: 0
|
||||
m_AOMaxDistance: 1
|
||||
m_CompAOExponent: 1
|
||||
m_CompAOExponentDirect: 0
|
||||
m_ExtractAmbientOcclusion: 0
|
||||
m_Padding: 2
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_LightmapsBakeMode: 1
|
||||
m_TextureCompression: 1
|
||||
m_FinalGather: 0
|
||||
m_FinalGatherFiltering: 1
|
||||
m_FinalGatherRayCount: 256
|
||||
m_ReflectionCompression: 2
|
||||
m_MixedBakeMode: 2
|
||||
m_BakeBackend: 0
|
||||
m_PVRSampling: 1
|
||||
m_PVRDirectSampleCount: 32
|
||||
m_PVRSampleCount: 500
|
||||
m_PVRBounces: 2
|
||||
m_PVREnvironmentSampleCount: 500
|
||||
m_PVREnvironmentReferencePointCount: 2048
|
||||
m_PVRFilteringMode: 2
|
||||
m_PVRDenoiserTypeDirect: 0
|
||||
m_PVRDenoiserTypeIndirect: 0
|
||||
m_PVRDenoiserTypeAO: 0
|
||||
m_PVRFilterTypeDirect: 0
|
||||
m_PVRFilterTypeIndirect: 0
|
||||
m_PVRFilterTypeAO: 0
|
||||
m_PVREnvironmentMIS: 0
|
||||
m_PVRCulling: 1
|
||||
m_PVRFilteringGaussRadiusDirect: 1
|
||||
m_PVRFilteringGaussRadiusIndirect: 5
|
||||
m_PVRFilteringGaussRadiusAO: 2
|
||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
||||
m_PVRFilteringAtrousPositionSigmaAO: 1
|
||||
m_ExportTrainingData: 0
|
||||
m_TrainingDataDestination: TrainingData
|
||||
m_LightProbeSampleCountMultiplier: 4
|
||||
m_LightingDataAsset: {fileID: 112000000, guid: 08fc2f04f090ec14b8d9eddecd7d089d,
|
||||
type: 2}
|
||||
m_LightingSettings: {fileID: 4890085278179872738, guid: 02b6be0ebf0487a439d63e024cf5e67c,
|
||||
type: 2}
|
||||
--- !u!196 &4
|
||||
NavMeshSettings:
|
||||
serializedVersion: 2
|
||||
m_ObjectHideFlags: 0
|
||||
m_BuildSettings:
|
||||
serializedVersion: 3
|
||||
agentTypeID: 0
|
||||
agentRadius: 0.15
|
||||
agentHeight: 1
|
||||
agentSlope: 45
|
||||
agentClimb: 0.4
|
||||
ledgeDropHeight: 0
|
||||
maxJumpAcrossDistance: 0
|
||||
minRegionArea: -0
|
||||
manualCellSize: 0
|
||||
cellSize: 0.05
|
||||
manualTileSize: 0
|
||||
tileSize: 256
|
||||
buildHeightMesh: 0
|
||||
maxJobWorkers: 0
|
||||
preserveTilesOutsideBounds: 0
|
||||
debug:
|
||||
m_Flags: 0
|
||||
m_NavMeshData: {fileID: 23800000, guid: a65fd7087688b89469dc9c7a9ecd4c69, type: 2}
|
||||
--- !u!1 &723760618
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 723760620}
|
||||
- component: {fileID: 723760619}
|
||||
m_Layer: 0
|
||||
m_Name: LoadMap
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &723760619
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 723760618}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 257fffff46c7ccd4294e887c06fc9c5a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
go_Camera: {fileID: 0}
|
||||
LoadSceneName: Map_Mimic
|
||||
LoadMapPrefab: Assets/Res_Addr/Map/Map_Mimic.prefab
|
||||
--- !u!4 &723760620
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 723760618}
|
||||
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!1660057539 &9223372036854775807
|
||||
SceneRoots:
|
||||
m_ObjectHideFlags: 0
|
||||
m_Roots:
|
||||
- {fileID: 723760620}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 9dca1e4e44b90484ab4c3a9f6f3d5fac
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: a65fd7087688b89469dc9c7a9ecd4c69
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 23800000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -29,6 +29,7 @@ public class BattleMapConfigTableData : TableDataBase
|
|||
} // 사용할 BGM 리소스 경로
|
||||
|
||||
public int n_MapName;
|
||||
public int n_MapDesc;
|
||||
public string s_MapIcon;
|
||||
|
||||
ObscuredInt _Portals;
|
||||
|
|
@ -39,10 +40,8 @@ public class BattleMapConfigTableData : TableDataBase
|
|||
} // 포탈 개수
|
||||
|
||||
|
||||
public override string Get_Name()
|
||||
{
|
||||
return table_localtext.Ins.Get_Text(n_MapName);
|
||||
}
|
||||
public override string Get_Name() { return table_localtext.Ins.Get_Text(n_MapName); }
|
||||
public string Get_Desc() { return table_localtext.Ins.Get_Text(n_MapDesc); }
|
||||
}
|
||||
|
||||
public class table_battlemapconfig : table_missionbase
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ public class MapChoiceUI_Dungeon : uScrollViewMgr
|
|||
|
||||
List<eDungeon> dungeons = new List<eDungeon> { eDungeon.d1_Mimic, eDungeon.d2_Maze, eDungeon.d3_Nightmare, eDungeon.d4_Wave };
|
||||
eDungeon SelectDungeon = eDungeon.d1_Mimic;
|
||||
int SelectMapID = 1001;
|
||||
|
||||
private void Start() { Ins = this; }
|
||||
|
||||
|
|
@ -17,19 +18,36 @@ public class MapChoiceUI_Dungeon : uScrollViewMgr
|
|||
{
|
||||
Set_UI();
|
||||
Set_ScrollView(dungeons);
|
||||
for (int i = 0; i < list_CardBase.Count; i++)
|
||||
{
|
||||
if (list_CardBase[i].Get_IntData() == SelectMapID)
|
||||
(list_CardBase[i] as WorldMapDungeonCard).OnClick_Card();
|
||||
}
|
||||
}
|
||||
|
||||
public override void Set_UI()
|
||||
{
|
||||
texts[0].text = SelectDungeon.ToString();
|
||||
texts[0].text = table_battlemapconfig.Ins.Get_Data(SelectMapID).Get_Name();
|
||||
var sdata = ServerInfo.Ins.m_ServerData;
|
||||
// TODO 정인호 : 서버에 현재 클리어 정보 있어야 함
|
||||
//m_ArrowUI.Set(totalcount => { }, )
|
||||
}
|
||||
|
||||
public void Select_Dungeon(eDungeon d)
|
||||
public void Select_Dungeon(eDungeon d, int mapid)
|
||||
{
|
||||
SelectDungeon = d;
|
||||
SelectMapID = mapid;
|
||||
Set_UI();
|
||||
}
|
||||
|
||||
public void OnClick_GoDungeon()
|
||||
{
|
||||
NewGameUI.Ins.m_MapChoiceUI.OnClick_Back();
|
||||
|
||||
MyValue.MyChoiceMapData.n_Difficult = 1; // TODO 정인호 : 나중에 선택한 난이도 넣어줄 것
|
||||
MyValue.MyChoiceMapData.n_MapID = SelectMapID;
|
||||
MyValue.MyChoiceMapData.n_PortalIndex = 0;
|
||||
|
||||
InGameInfo.Ins.Load_Map(SelectMapID);
|
||||
}
|
||||
}
|
||||
|
|
@ -16,7 +16,7 @@ public class MapChoiceUI_WorldMap : uScrollViewMgr
|
|||
{
|
||||
var tablst = table_battlemapconfig.Ins.Get_DataList(true);
|
||||
for (int i = 0; i < tablst.Count; i++)
|
||||
list_tab.Add(new TabUIData { onClick = Set_UI, btnName = DSUtil.Format(319, tablst[i].n_MapID - 2) });
|
||||
list_tab.Add(new TabUIData { onClick = Set_UI, btnName = DSUtil.Format(319, tablst[i].n_MapID) });
|
||||
m_Tab.Set(list_tab);
|
||||
}
|
||||
Set_UI();
|
||||
|
|
@ -24,7 +24,7 @@ public class MapChoiceUI_WorldMap : uScrollViewMgr
|
|||
|
||||
public override void Set_UI()
|
||||
{
|
||||
var map = m_Tab.Get_Index() + 3;
|
||||
var map = m_Tab.Get_Index() + 1;
|
||||
var mapdata = table_battlemapconfig.Ins.Get_Data(map);
|
||||
list_portal.Clear();
|
||||
for (int i = 0; i < mapdata.n_Portals; i++)
|
||||
|
|
@ -38,7 +38,7 @@ public class MapChoiceUI_WorldMap : uScrollViewMgr
|
|||
{
|
||||
NewGameUI.Ins.m_MapChoiceUI.OnClick_Back();
|
||||
|
||||
var map = m_Tab.Get_Index() + 3;
|
||||
var map = m_Tab.Get_Index() + 1;
|
||||
MyValue.MyChoiceMapData.n_Difficult = 1; // TODO 정인호 : 나중에 선택한 난이도 넣어줄 것
|
||||
MyValue.MyChoiceMapData.n_MapID = map;
|
||||
MyValue.MyChoiceMapData.n_PortalIndex = 0; // TODO 정인호 : 선택한 웨이포인트 카드
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ public class NewGameUI : MonoBehaviourSingletonTemplate<NewGameUI>
|
|||
{
|
||||
//ServerInfo.Ins.Check_OfflineReward();
|
||||
m_GuideQuestUI.Set();
|
||||
InGameInfo.Ins.Load_Map(1);
|
||||
InGameInfo.Ins.Load_Map(-1);
|
||||
var cameraData = Camera.main.GetUniversalAdditionalCameraData();
|
||||
cameraData.cameraStack.Add(go_Camera.GetComponent<Camera>());
|
||||
}
|
||||
|
|
@ -76,7 +76,7 @@ public class NewGameUI : MonoBehaviourSingletonTemplate<NewGameUI>
|
|||
case "btn_pet": m_PetUI.Set(); break;
|
||||
case "btn_collection": m_CollectionUI.Set(); break;
|
||||
|
||||
case "btn_farm": InGameInfo.Ins.Load_Map(2); break;
|
||||
case "btn_farm": InGameInfo.Ins.Load_Map(0); break;
|
||||
case "btn_btn_plantingseed": break;
|
||||
case "btn_warehouse": break;
|
||||
case "btn_farmer": break;
|
||||
|
|
|
|||
|
|
@ -23,6 +23,9 @@ EditorBuildSettings:
|
|||
- enabled: 1
|
||||
path: Assets/Scenes/Map_C02.unity
|
||||
guid: 20d9945342f6ade4c85ae3625bf86d44
|
||||
- enabled: 1
|
||||
path: Assets/Scenes/Map_Mimic.unity
|
||||
guid: 9dca1e4e44b90484ab4c3a9f6f3d5fac
|
||||
m_configObjects:
|
||||
com.unity.addressableassets: {fileID: 11400000, guid: a6af74bb7b3ef3f429b3d463f66c15a9,
|
||||
type: 2}
|
||||
|
|
|
|||
Loading…
Reference in New Issue