浏览代码

Connected almost all scenes

Missing TownMarket and TownUpper
/main
Ciro Continisio 4 年前
当前提交
42b7725e
共有 67 个文件被更改,包括 3020 次插入4076 次删除
  1. 42
      UOP1_Project/Assets/AddressableAssetsData/AssetGroups/Default Local Group.asset
  2. 32
      UOP1_Project/Assets/AddressableAssetsData/AssetGroups/LocationScenes.asset
  3. 10
      UOP1_Project/Assets/AddressableAssetsData/AssetGroups/WIPScenes.asset
  4. 1
      UOP1_Project/Assets/Prefabs/Gameplay/EditorInitializer.prefab
  5. 2
      UOP1_Project/Assets/Prefabs/Gameplay/SpawnSystem.prefab
  6. 2
      UOP1_Project/Assets/Prefabs/Gameplay/LocationEntrance.prefab
  7. 165
      UOP1_Project/Assets/Prefabs/Props/Boat.prefab
  8. 2
      UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/Beach_Landmass.prefab
  9. 2
      UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/Farms_Landmass.prefab
  10. 2
      UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/ForestEntrance_Landmass.prefab
  11. 2
      UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/Forest_Landmass.prefab
  12. 2
      UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/RockyPath_Landmass.prefab
  13. 2
      UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/TownEntrance_Landmass.prefab
  14. 2
      UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/TownInner_Landmass.prefab
  15. 2
      UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/TownToRockyPath_Landmass.prefab
  16. 4
      UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/Hill_Landmass.prefab
  17. 584
      UOP1_Project/Assets/Scenes/Locations/Beach.unity
  18. 866
      UOP1_Project/Assets/Scenes/Locations/Field_Farms.unity
  19. 883
      UOP1_Project/Assets/Scenes/Locations/Field_Hill.unity
  20. 962
      UOP1_Project/Assets/Scenes/Locations/Forest.unity
  21. 931
      UOP1_Project/Assets/Scenes/Locations/Forest_Entrance.unity
  22. 923
      UOP1_Project/Assets/Scenes/Locations/Mountain.unity
  23. 910
      UOP1_Project/Assets/Scenes/Locations/Town_Inner.unity
  24. 127
      UOP1_Project/Assets/Scenes/Locations/Town_Market.unity
  25. 2
      UOP1_Project/Assets/ScriptableObjects/Paths/Beach_FieldsHill.asset
  26. 2
      UOP1_Project/Assets/ScriptableObjects/Paths/FieldsFarms_TownMarket.asset
  27. 2
      UOP1_Project/Assets/ScriptableObjects/Paths/FieldsHill_FieldsFarms.asset
  28. 78
      UOP1_Project/Assets/Scripts/Gameplay/SpawnSystem.cs
  29. 16
      UOP1_Project/Assets/Scripts/SceneManagement/EditorColdStartup.cs
  30. 1
      UOP1_Project/Assets/Scripts/SceneManagement/EditorColdStartup.cs.meta
  31. 1
      UOP1_Project/Assets/Scripts/SceneManagement/LocationEntrance.cs
  32. 18
      UOP1_Project/Assets/Scripts/SceneManagement/LocationExit.cs
  33. 6
      UOP1_Project/Assets/Scripts/SceneManagement/LocationExit.cs.meta
  34. 3
      UOP1_Project/Assets/Scripts/SceneManagement/ScriptableObjects/PathSO.cs
  35. 4
      UOP1_Project/Assets/Settings/LightBakingSettings/Locations.lighting
  36. 126
      UOP1_Project/Assets/Art/Nature/Ground/Sand.mat
  37. 8
      UOP1_Project/Assets/Art/Nature/Ground/Sand.mat.meta
  38. 160
      UOP1_Project/Assets/Prefabs/Gameplay/LocationExit.prefab
  39. 7
      UOP1_Project/Assets/Prefabs/Gameplay/LocationExit.prefab.meta
  40. 19
      UOP1_Project/Assets/ScriptableObjects/Gameplay/PathTaken.asset
  41. 14
      UOP1_Project/Assets/ScriptableObjects/Paths/ForestEntrance_Forest.asset
  42. 8
      UOP1_Project/Assets/ScriptableObjects/Paths/ForestEntrance_Forest.asset.meta
  43. 14
      UOP1_Project/Assets/ScriptableObjects/Paths/InnerTown_ForestEntrance.asset
  44. 8
      UOP1_Project/Assets/ScriptableObjects/Paths/InnerTown_ForestEntrance.asset.meta
  45. 14
      UOP1_Project/Assets/ScriptableObjects/Paths/InnerTown_UpperTown_Slope.asset
  46. 8
      UOP1_Project/Assets/ScriptableObjects/Paths/InnerTown_UpperTown_Slope.asset.meta
  47. 14
      UOP1_Project/Assets/ScriptableObjects/Paths/TownMarket_InnerTown_BackSide.asset
  48. 8
      UOP1_Project/Assets/ScriptableObjects/Paths/TownMarket_InnerTown_BackSide.asset.meta
  49. 14
      UOP1_Project/Assets/ScriptableObjects/Paths/TownMarket_InnerTown_Riverside.asset
  50. 8
      UOP1_Project/Assets/ScriptableObjects/Paths/TownMarket_InnerTown_Riverside.asset.meta
  51. 14
      UOP1_Project/Assets/ScriptableObjects/Paths/TownMarket_Mountain.asset
  52. 8
      UOP1_Project/Assets/ScriptableObjects/Paths/TownMarket_Mountain.asset.meta
  53. 10
      UOP1_Project/Assets/Scripts/RuntimeAnchors/PathStorageSO.cs
  54. 17
      UOP1_Project/Assets/ScriptableObjects/RuntimeAnchors/PathTaken.asset
  55. 24
      UOP1_Project/Assets/Scripts/RuntimeAnchors/PathAnchor.cs
  56. 0
      /UOP1_Project/Assets/Prefabs/Gameplay/LocationEntrance.prefab.meta
  57. 0
      /UOP1_Project/Assets/Prefabs/Gameplay/LocationEntrance.prefab
  58. 0
      /UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/Hill_Landmass.prefab.meta
  59. 0
      /UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/Hill_Landmass.prefab
  60. 0
      /UOP1_Project/Assets/ScriptableObjects/Paths/FieldsHill_FieldsFarms.asset.meta
  61. 0
      /UOP1_Project/Assets/ScriptableObjects/Paths/Beach_FieldsHill.asset.meta
  62. 0
      /UOP1_Project/Assets/ScriptableObjects/Paths/FieldsFarms_TownMarket.asset.meta
  63. 0
      /UOP1_Project/Assets/ScriptableObjects/Paths/Beach_FieldsHill.asset
  64. 0
      /UOP1_Project/Assets/ScriptableObjects/Paths/FieldsFarms_TownMarket.asset
  65. 0
      /UOP1_Project/Assets/ScriptableObjects/Paths/FieldsHill_FieldsFarms.asset
  66. 0
      /UOP1_Project/Assets/Scripts/RuntimeAnchors/PathStorageSO.cs.meta
  67. 0
      /UOP1_Project/Assets/ScriptableObjects/Gameplay/PathTaken.asset.meta

42
UOP1_Project/Assets/AddressableAssetsData/AssetGroups/Default Local Group.asset


m_Data:
m_SerializedData: []
m_GUID: a7bae5f88e2e24365bdf768f42df85c5
m_SerializeEntries:
- m_GUID: 6266a47cd08e5a046ae27821f5ee4648
m_Address: Assets/Scenes/Whiteboxing/WhiteboxingMaster_V1.unity
m_ReadOnly: 0
m_SerializedLabels: []
- m_GUID: 7c4b340fe73519445b7ab487736d30af
m_Address: Assets/Scenes/Whiteboxing/IslandMaster.unity
m_ReadOnly: 0
m_SerializedLabels: []
- m_GUID: b364a71d126b2bf44a2f4b006b35d4b7
m_Address: Assets/Scenes/Locations/Field_Farms.unity
m_ReadOnly: 0
m_SerializedLabels: []
- m_GUID: 218e6671d4cfc6749964fe4102dd0289
m_Address: Assets/Scenes/Locations/Field_Hill.unity
m_ReadOnly: 0
m_SerializedLabels: []
- m_GUID: 64585765faee8c446aef91d5a46a55f9
m_Address: Assets/Scenes/Locations/Forest.unity
m_ReadOnly: 0
m_SerializedLabels: []
- m_GUID: be5f0c750f94f8349baec06f6e495a3e
m_Address: Assets/Scenes/Locations/Forest_Entrance.unity
m_ReadOnly: 0
m_SerializedLabels: []
- m_GUID: e0e126273a41560478edee1d4da8e864
m_Address: Assets/Scenes/Locations/Mountain.unity
m_ReadOnly: 0
m_SerializedLabels: []
- m_GUID: c5d9eca142485be458a92b89d3b36aa3
m_Address: Assets/Scenes/Locations/Town_Inner.unity
m_ReadOnly: 0
m_SerializedLabels: []
- m_GUID: 0641128c808cd8245b65056040f8e4d6
m_Address: Assets/Scenes/Locations/Town_Market.unity
m_ReadOnly: 0
m_SerializedLabels: []
- m_GUID: ac54d88144e5bf442ae5747c5ae42172
m_Address: Assets/Scenes/Locations/Town_Upper.unity
m_ReadOnly: 0
m_SerializedLabels: []
m_SerializeEntries: []
m_ReadOnly: 0
m_Settings: {fileID: 11400000, guid: bffab80dc16c4464b92b2e97b6a1964c, type: 2}
m_SchemaSet:

32
UOP1_Project/Assets/AddressableAssetsData/AssetGroups/LocationScenes.asset


m_Address: Assets/Scenes/Locations/Beach.unity
m_ReadOnly: 0
m_SerializedLabels: []
- m_GUID: b364a71d126b2bf44a2f4b006b35d4b7
m_Address: Assets/Scenes/Locations/Field_Farms.unity
m_ReadOnly: 0
m_SerializedLabels: []
- m_GUID: 218e6671d4cfc6749964fe4102dd0289
m_Address: Assets/Scenes/Locations/Field_Hill.unity
m_ReadOnly: 0
m_SerializedLabels: []
- m_GUID: 64585765faee8c446aef91d5a46a55f9
m_Address: Assets/Scenes/Locations/Forest.unity
m_ReadOnly: 0
m_SerializedLabels: []
- m_GUID: be5f0c750f94f8349baec06f6e495a3e
m_Address: Assets/Scenes/Locations/Forest_Entrance.unity
m_ReadOnly: 0
m_SerializedLabels: []
- m_GUID: e0e126273a41560478edee1d4da8e864
m_Address: Assets/Scenes/Locations/Mountain.unity
m_ReadOnly: 0
m_SerializedLabels: []
- m_GUID: c5d9eca142485be458a92b89d3b36aa3
m_Address: Assets/Scenes/Locations/Town_Inner.unity
m_ReadOnly: 0
m_SerializedLabels: []
- m_GUID: 0641128c808cd8245b65056040f8e4d6
m_Address: Assets/Scenes/Locations/Town_Market.unity
m_ReadOnly: 0
m_SerializedLabels: []
- m_GUID: ac54d88144e5bf442ae5747c5ae42172
m_Address: Assets/Scenes/Locations/Town_Upper.unity
m_ReadOnly: 0
m_SerializedLabels: []
m_ReadOnly: 0
m_Settings: {fileID: 11400000, guid: bffab80dc16c4464b92b2e97b6a1964c, type: 2}
m_SchemaSet:

10
UOP1_Project/Assets/AddressableAssetsData/AssetGroups/WIPScenes.asset


m_Address: Assets/Scenes/WIP/TestingGround.unity
m_ReadOnly: 0
m_SerializedLabels: []
m_MainAsset: {fileID: 0}
m_TargetAsset: {fileID: 0}
- m_GUID: 7c4b340fe73519445b7ab487736d30af
m_Address: Assets/Scenes/Whiteboxing/IslandMaster.unity
m_ReadOnly: 0
m_SerializedLabels: []
- m_GUID: 6266a47cd08e5a046ae27821f5ee4648
m_Address: Assets/Scenes/Whiteboxing/WhiteboxingMaster_V1.unity
m_ReadOnly: 0
m_SerializedLabels: []
m_ReadOnly: 0
m_Settings: {fileID: 11400000, guid: bffab80dc16c4464b92b2e97b6a1964c, type: 2}
m_SchemaSet:

1
UOP1_Project/Assets/Prefabs/Gameplay/EditorInitializer.prefab


m_EditorAssetChanged: 0
_onSceneReadyChannel: {fileID: 11400000, guid: b729e40fc41dd8b4ea7aaf5c857f7186,
type: 2}
_pathStorage: {fileID: 11400000, guid: a9ec09853cba047a8a58f5881053cfc6, type: 2}

2
UOP1_Project/Assets/Prefabs/Gameplay/SpawnSystem.prefab


- component: {fileID: 2125786286893897154}
- component: {fileID: 4671891876261113940}
m_Layer: 0
m_Name: Location 01
m_Name: DefaultSpawnLocation
m_TagString: SpawnLocation
m_Icon: {fileID: 3936346786652291628, guid: 0000000000000000d000000000000000, type: 0}
m_NavMeshLayer: 0

2
UOP1_Project/Assets/Prefabs/Gameplay/LocationEntrance.prefab


- component: {fileID: 5540501665159811851}
- component: {fileID: 1771713970578625073}
m_Layer: 0
m_Name: Entrance
m_Name: LocationEntrance
m_TagString: SpawnLocation
m_Icon: {fileID: 3936346786652291628, guid: 0000000000000000d000000000000000, type: 0}
m_NavMeshLayer: 0

165
UOP1_Project/Assets/Prefabs/Props/Boat.prefab


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &757668608908953532
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 791776656526862235}
- component: {fileID: 2101863698973357955}
m_Layer: 0
m_Name: Cube
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &791776656526862235
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 757668608908953532}
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: 2320706827772313818}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &2101863698973357955
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 757668608908953532}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 1.1125057, y: 0.58599, z: 3.525407}
m_Center: {x: -0.015887141, y: 0.24113867, z: 0.120401025}
--- !u!1 &3082874605146643180
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2320706827772313818}
m_Layer: 0
m_Name: Colliders
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2320706827772313818
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3082874605146643180}
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: 791776656526862235}
- {fileID: 8098810988790710314}
- {fileID: 6192259042956662793}
m_Father: {fileID: 5215257785267415874}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &5280275514583034193
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6192259042956662793}
- component: {fileID: 6332449861835324053}
m_Layer: 0
m_Name: Cube (1)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6192259042956662793
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5280275514583034193}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0.233, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 2320706827772313818}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &6332449861835324053
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5280275514583034193}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 1.1125057, y: 0.58599, z: 0.8267667}
m_Center: {x: -0.015887141, y: 0.24113867, z: 1.4697212}
--- !u!1 &5428941001464514849
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8098810988790710314}
- component: {fileID: 2993193790579601525}
m_Layer: 0
m_Name: Cube (3)
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8098810988790710314
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5428941001464514849}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0.384, z: 0.302}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 2320706827772313818}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &2993193790579601525
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5428941001464514849}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 0.21388058, y: 3.2565148, z: 1.3906302}
m_Center: {x: -0.015887141, y: 1.3192576, z: -0.20825824}
--- !u!1001 &1552804719
PrefabInstance:
m_ObjectHideFlags: 0

2
UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/Beach_Landmass.prefab


m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 27fd0bb504f007f42a738e4e113a10f4, type: 2}
- {fileID: 2100000, guid: 74550b39503bf314eb92bb716d107ff6, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0

2
UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/Farms_Landmass.prefab


m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 27fd0bb504f007f42a738e4e113a10f4, type: 2}
- {fileID: 2100000, guid: 74550b39503bf314eb92bb716d107ff6, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0

2
UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/ForestEntrance_Landmass.prefab


m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 27fd0bb504f007f42a738e4e113a10f4, type: 2}
- {fileID: 2100000, guid: 74550b39503bf314eb92bb716d107ff6, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0

2
UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/Forest_Landmass.prefab


m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 27fd0bb504f007f42a738e4e113a10f4, type: 2}
- {fileID: 2100000, guid: e6df0864f2dccac4f93025eba0cd643d, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0

2
UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/RockyPath_Landmass.prefab


m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 27fd0bb504f007f42a738e4e113a10f4, type: 2}
- {fileID: 2100000, guid: 74550b39503bf314eb92bb716d107ff6, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0

2
UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/TownEntrance_Landmass.prefab


m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 27fd0bb504f007f42a738e4e113a10f4, type: 2}
- {fileID: 2100000, guid: 74550b39503bf314eb92bb716d107ff6, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0

2
UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/TownInner_Landmass.prefab


m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 27fd0bb504f007f42a738e4e113a10f4, type: 2}
- {fileID: 2100000, guid: e6df0864f2dccac4f93025eba0cd643d, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0

2
UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/TownToRockyPath_Landmass.prefab


m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 27fd0bb504f007f42a738e4e113a10f4, type: 2}
- {fileID: 2100000, guid: e6df0864f2dccac4f93025eba0cd643d, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0

4
UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/Hill_Landmass.prefab


- component: {fileID: 2513377017642162849}
- component: {fileID: 2513377017642162854}
m_Layer: 0
m_Name: Glade_Landmass
m_Name: Hill_Landmass
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0

m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 27fd0bb504f007f42a738e4e113a10f4, type: 2}
- {fileID: 2100000, guid: e6df0864f2dccac4f93025eba0cd643d, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0

584
UOP1_Project/Assets/Scenes/Locations/Beach.unity
文件差异内容过多而无法显示
查看文件

866
UOP1_Project/Assets/Scenes/Locations/Field_Farms.unity
文件差异内容过多而无法显示
查看文件

883
UOP1_Project/Assets/Scenes/Locations/Field_Hill.unity
文件差异内容过多而无法显示
查看文件

962
UOP1_Project/Assets/Scenes/Locations/Forest.unity
文件差异内容过多而无法显示
查看文件

931
UOP1_Project/Assets/Scenes/Locations/Forest_Entrance.unity
文件差异内容过多而无法显示
查看文件

923
UOP1_Project/Assets/Scenes/Locations/Mountain.unity
文件差异内容过多而无法显示
查看文件

910
UOP1_Project/Assets/Scenes/Locations/Town_Inner.unity
文件差异内容过多而无法显示
查看文件

127
UOP1_Project/Assets/Scenes/Locations/Town_Market.unity
文件差异内容过多而无法显示
查看文件

2
UOP1_Project/Assets/ScriptableObjects/Paths/Beach_FieldsHill.asset


m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fedb6eda6181441209c70ac00d6e7cc8, type: 3}
m_Name: BetweenBeachAndForest
m_Name: Beach_FieldsHill
m_EditorClassIdentifier:

2
UOP1_Project/Assets/ScriptableObjects/Paths/FieldsFarms_TownMarket.asset


m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fedb6eda6181441209c70ac00d6e7cc8, type: 3}
m_Name: BetweenBeachAndGlade
m_Name: FieldsFarms_TownMarket
m_EditorClassIdentifier:

2
UOP1_Project/Assets/ScriptableObjects/Paths/FieldsHill_FieldsFarms.asset


m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fedb6eda6181441209c70ac00d6e7cc8, type: 3}
m_Name: BetweenBeachAndTestingGround
m_Name: FieldsHill_FieldsFarms
m_EditorClassIdentifier:

78
UOP1_Project/Assets/Scripts/Gameplay/SpawnSystem.cs


public class SpawnSystem : MonoBehaviour
{
[Header("Settings")]
[SerializeField] private int _defaultSpawnIndex = 0;
[SerializeField] private PathAnchor _pathTaken = default;
[SerializeField] private PathStorageSO _pathTaken = default;
private Transform[] _spawnLocations;
private LocationEntrance[] _spawnLocations;
private Transform _defaultSpawnPoint;
private void OnEnable()
private void Awake()
_spawnLocations = GameObject.FindObjectsOfType<LocationEntrance>();
_defaultSpawnPoint = transform.GetChild(0);
}
private void OnEnable()
{
GameObject[] spawnLocationsGO = GameObject.FindGameObjectsWithTag("SpawnLocation");
_spawnLocations = new Transform[spawnLocationsGO.Length];
for (int i = 0; i < spawnLocationsGO.Length; ++i)
{
_spawnLocations[i] = spawnLocationsGO[i].transform;
}
Spawn(FindSpawnIndex(_pathTaken?.Path ?? null));
}
void Reset()
{
AutoFill();
}
/// <summary>
/// This function tries to autofill some of the parameters of the component, so it's easy to drop in a new scene
/// </summary>
[ContextMenu("Attempt Auto Fill")]
private void AutoFill()
{
if (_spawnLocations == null || _spawnLocations.Length == 0)
_spawnLocations = transform.GetComponentsInChildren<Transform>(true)
.Where(t => t != this.transform)
.ToArray();
}
private void Spawn(int spawnIndex)
{
Transform spawnLocation = GetSpawnLocation(spawnIndex, _spawnLocations);
Protagonist playerInstance = InstantiatePlayer(_playerPrefab, spawnLocation);
Protagonist playerInstance = InstantiatePlayer(_playerPrefab, GetSpawnLocation());
private Transform GetSpawnLocation(int index, Transform[] spawnLocations)
private Transform GetSpawnLocation()
if (spawnLocations == null || spawnLocations.Length == 0)
throw new Exception("No spawn locations set.");
if (_pathTaken == null)
return _defaultSpawnPoint;
index = Mathf.Clamp(index, 0, spawnLocations.Length - 1);
return spawnLocations[index];
}
//Look for the element in the available LocationEntries that matches tha last PathSO taken
int entranceIndex = Array.FindIndex(_spawnLocations, element =>
element.EntrancePath == _pathTaken.lastPathTaken );
private int FindSpawnIndex(PathSO pathTaken)
{
if (pathTaken == null)
return _defaultSpawnIndex;
int index = Array.FindIndex(_spawnLocations, element =>
element?.GetComponent<LocationEntrance>()?.EntrancePath == pathTaken
);
return (index < 0) ? _defaultSpawnIndex : index;
if (entranceIndex == -1)
{
Debug.LogWarning("The player tried to spawn in an LocationEntry that doesn't exist, returning the default one.");
return _defaultSpawnPoint;
}
else
return _spawnLocations[entranceIndex].transform;
}
private Protagonist InstantiatePlayer(Protagonist playerPrefab, Transform spawnLocation)

16
UOP1_Project/Assets/Scripts/SceneManagement/EditorColdStartup.cs


[SerializeField] private GameSceneSO _persistentManagersSO = default;
[SerializeField] private AssetReference _notifyColdStartupChannel = default;
[SerializeField] private VoidEventChannelSO _onSceneReadyChannel = default;
[SerializeField] private PathStorageSO _pathStorage = default;
private void Start()
private bool isColdStart = false;
private void Awake()
{
isColdStart = true;
//Reset the path taken, so the character will spawn in this location's default spawn point
_pathStorage.lastPathTaken = null;
}
}
private void Start()
{
if (isColdStart)
{
_persistentManagersSO.sceneReference.LoadSceneAsync(LoadSceneMode.Additive, true).Completed += LoadEventChannel;
}

1
UOP1_Project/Assets/Scripts/SceneManagement/EditorColdStartup.cs.meta


type: 2}
- _onSceneReadyChannel: {fileID: 11400000, guid: b729e40fc41dd8b4ea7aaf5c857f7186,
type: 2}
- _pathStorage: {fileID: 11400000, guid: a9ec09853cba047a8a58f5881053cfc6, type: 2}
executionOrder: 0
icon: {instanceID: 0}
userData:

1
UOP1_Project/Assets/Scripts/SceneManagement/LocationEntrance.cs


public class LocationEntrance : MonoBehaviour
{
[Header("Asset References")]
[SerializeField] private PathSO _entrancePath;
public PathSO EntrancePath => _entrancePath;

18
UOP1_Project/Assets/Scripts/SceneManagement/LocationExit.cs


public class LocationExit : MonoBehaviour
{
[Header("Loading settings")]
[SerializeField] private bool _showLoadScreen = default;
[SerializeField] private PathAnchor _pathTaken = default;
[SerializeField] private PathSO _exitPath = default;
[SerializeField] private PathSO _leadsToPath = default;
[SerializeField] private PathStorageSO _pathStorage = default; //This is where the last path taken will be stored
[Header("Broadcasting on")]
[SerializeField] private LoadEventChannelSO _locationExitLoadChannel = default;

if (other.CompareTag("Player"))
{
UpdatePathTaken();
_locationExitLoadChannel.RaiseEvent(_locationToLoad, _showLoadScreen);
}
}
if (_pathStorage != null)
_pathStorage.lastPathTaken = _leadsToPath;
private void UpdatePathTaken()
{
if (_pathTaken != null)
_pathTaken.Path = _exitPath;
_locationExitLoadChannel.RaiseEvent(_locationToLoad);
}
}
}

6
UOP1_Project/Assets/Scripts/SceneManagement/LocationExit.cs.meta


externalObjects: {}
serializedVersion: 2
defaultReferences:
- _onLocationExit: {fileID: 11400000, guid: 00e3063edc5902e40832ea618644c597, type: 2}
- _locationToLoad: {instanceID: 0}
- _leadsToPath: {instanceID: 0}
- _pathStorage: {fileID: 11400000, guid: a9ec09853cba047a8a58f5881053cfc6, type: 2}
- _locationExitLoadChannel: {fileID: 11400000, guid: 00e3063edc5902e40832ea618644c597,
type: 2}
executionOrder: 0
icon: {instanceID: 0}
userData:

3
UOP1_Project/Assets/Scripts/SceneManagement/ScriptableObjects/PathSO.cs


using UnityEngine;
/// <summary>
/// Paths are used to determine the connecting entrances and exits between Locations
/// Paths are used to determine the connecting entrances and exits between Locations.
/// They don't have a direction, so the same path SO can be reused both ways, by referencing it in the appropriate <c>LocationEntrance</c> and <c>LocationExit</c> scripts in the scene.
/// </summary>
[CreateAssetMenu(fileName = "BetweenLocation1AndLocation2", menuName = "Scene Data/Path")]

4
UOP1_Project/Assets/Settings/LightBakingSettings/Locations.lighting


m_UsingShadowmask: 0
m_BakeBackend: 2
m_LightmapMaxSize: 1024
m_BakeResolution: 10
m_BakeResolution: 5
m_Padding: 2
m_TextureCompression: 0
m_AO: 1

m_LightProbeSampleCountMultiplier: 4
m_PVRBounces: 2
m_PVRMinBounces: 1
m_PVREnvironmentMIS: 0
m_PVREnvironmentMIS: 1
m_PVRFilteringMode: 2
m_PVRDenoiserTypeDirect: 1
m_PVRDenoiserTypeIndirect: 1

126
UOP1_Project/Assets/Art/Nature/Ground/Sand.mat


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-2298478308057384203
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier:
version: 2
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Sand
m_Shader: {fileID: -6465566751694194690, guid: bf36778a400a0894b86a1f49c422fa62,
type: 3}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- Texture2D_300EB541:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTexture:
m_Texture: {fileID: 2800000, guid: 68f51f5df921dd948845b2144de45d09, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecularMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- Vector1_8606F96E: 0
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1
- _Cull: 2
- _Cutoff: 0.5
- _DstBlend: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _LightProbeContribution: 3.5
- _Metallic: 0
- _OcclusionStrength: 1
- _OutlineDepthSensitivity: 0
- _OutlineNormalsSensitivity: 0
- _OutlineThickness: 0
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0
- _Smoothness1: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _Surface: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _MainColor: {r: 1, g: 1, b: 1, a: 1}
- _Offset: {r: 0, g: 0, b: 0, a: 0}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
- _SpecularColor: {r: 0, g: 0, b: 0, a: 0}
- _SpecularColor1: {r: 0, g: 0, b: 0, a: 0}
- _Tiling: {r: 0.2, g: 0.2, b: 0, a: 0}
m_BuildTextureStacks: []

8
UOP1_Project/Assets/Art/Nature/Ground/Sand.mat.meta


fileFormatVersion: 2
guid: 74550b39503bf314eb92bb716d107ff6
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

160
UOP1_Project/Assets/Prefabs/Gameplay/LocationExit.prefab


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &6940163839637067414
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8973046805947103834}
- component: {fileID: 4471144553559372729}
- component: {fileID: 1139264909358345263}
- component: {fileID: 8690334291356580271}
m_Layer: 0
m_Name: LocationExit
m_TagString: Untagged
m_Icon: {fileID: 5132851093641282708, guid: 0000000000000000d000000000000000, type: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8973046805947103834
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6940163839637067414}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 20.8087, y: 1.0054599, z: -9.273869}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1956617335693518547}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &4471144553559372729
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6940163839637067414}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 02e6b73898a4a52438d630a7ba29da77, type: 3}
m_Name:
m_EditorClassIdentifier:
_locationToLoad: {fileID: 0}
_leadsToPath: {fileID: 0}
_pathStorage: {fileID: 11400000, guid: a9ec09853cba047a8a58f5881053cfc6, type: 2}
_locationExitLoadChannel: {fileID: 11400000, guid: 00e3063edc5902e40832ea618644c597,
type: 2}
--- !u!65 &1139264909358345263
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6940163839637067414}
m_Material: {fileID: 0}
m_IsTrigger: 1
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 1, y: 3, z: 3}
m_Center: {x: 0, y: 1.5, z: 0}
--- !u!114 &8690334291356580271
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6940163839637067414}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 14441bd075da9464e9c254e66e1849e3, type: 3}
m_Name:
m_EditorClassIdentifier:
_verticalOffset: 0.1
--- !u!1 &7769894030278673013
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1956617335693518547}
- component: {fileID: 7879004522692414699}
- component: {fileID: 9163081069603010599}
m_Layer: 0
m_Name: DebugVisualisation
m_TagString: EditorOnly
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1956617335693518547
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7769894030278673013}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1.5, z: 0}
m_LocalScale: {x: 1, y: 3, z: 3}
m_Children: []
m_Father: {fileID: 8973046805947103834}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &7879004522692414699
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7769894030278673013}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &9163081069603010599
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7769894030278673013}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 1
m_DynamicOccludee: 0
m_MotionVectors: 1
m_LightProbeUsage: 0
m_ReflectionProbeUsage: 0
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 43cc88de02783754fa81506bf52da0b2, 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}

7
UOP1_Project/Assets/Prefabs/Gameplay/LocationExit.prefab.meta


fileFormatVersion: 2
guid: 091eb08593be92a479022adb4c5341d1
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

19
UOP1_Project/Assets/ScriptableObjects/Gameplay/PathTaken.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a3f6d258ef1d442128bb2af4b61592d8, type: 3}
m_Name: PathTaken
m_EditorClassIdentifier:
_guid: a9ec09853cba047a8a58f5881053cfc6
description: Contains a reference to the last PathSO taken by the player during
gameplay, which is set by LocationExit scripts. It is used by the SpawnSystem
to determine the LocationEntrance when spawning the player in a new scene.
lastPathTaken: {fileID: 0}

14
UOP1_Project/Assets/ScriptableObjects/Paths/ForestEntrance_Forest.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fedb6eda6181441209c70ac00d6e7cc8, type: 3}
m_Name: ForestEntrance_Forest
m_EditorClassIdentifier:

8
UOP1_Project/Assets/ScriptableObjects/Paths/ForestEntrance_Forest.asset.meta


fileFormatVersion: 2
guid: e4310921131835a468d5b2801805cc84
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

14
UOP1_Project/Assets/ScriptableObjects/Paths/InnerTown_ForestEntrance.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fedb6eda6181441209c70ac00d6e7cc8, type: 3}
m_Name: InnerTown_ForestEntrance
m_EditorClassIdentifier:

8
UOP1_Project/Assets/ScriptableObjects/Paths/InnerTown_ForestEntrance.asset.meta


fileFormatVersion: 2
guid: 08e4b057b8cc798418a6e0cb60e13429
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

14
UOP1_Project/Assets/ScriptableObjects/Paths/InnerTown_UpperTown_Slope.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fedb6eda6181441209c70ac00d6e7cc8, type: 3}
m_Name: InnerTown_UpperTown_Slope
m_EditorClassIdentifier:

8
UOP1_Project/Assets/ScriptableObjects/Paths/InnerTown_UpperTown_Slope.asset.meta


fileFormatVersion: 2
guid: 46dd7142572685d49abcbeb1be0810eb
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

14
UOP1_Project/Assets/ScriptableObjects/Paths/TownMarket_InnerTown_BackSide.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fedb6eda6181441209c70ac00d6e7cc8, type: 3}
m_Name: TownMarket_InnerTown_BackSide
m_EditorClassIdentifier:

8
UOP1_Project/Assets/ScriptableObjects/Paths/TownMarket_InnerTown_BackSide.asset.meta


fileFormatVersion: 2
guid: e95a228c518d2be40933bda461309ee1
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

14
UOP1_Project/Assets/ScriptableObjects/Paths/TownMarket_InnerTown_Riverside.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fedb6eda6181441209c70ac00d6e7cc8, type: 3}
m_Name: TownMarket_InnerTown_Riverside
m_EditorClassIdentifier:

8
UOP1_Project/Assets/ScriptableObjects/Paths/TownMarket_InnerTown_Riverside.asset.meta


fileFormatVersion: 2
guid: 86da392edf930b347a68d4bb81a93197
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

14
UOP1_Project/Assets/ScriptableObjects/Paths/TownMarket_Mountain.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fedb6eda6181441209c70ac00d6e7cc8, type: 3}
m_Name: TownMarket_Mountain
m_EditorClassIdentifier:

8
UOP1_Project/Assets/ScriptableObjects/Paths/TownMarket_Mountain.asset.meta


fileFormatVersion: 2
guid: 4fe00563f92b8434e941e5b005e23d94
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

10
UOP1_Project/Assets/Scripts/RuntimeAnchors/PathStorageSO.cs


using UnityEngine;
/// <summary>
/// This one of a kind SO stores, during gameplay, the path that was
/// </summary>
//[CreateAssetMenu(fileName = "PathStorage", menuName = "Gameplay/Path Storage")]
public class PathStorageSO : DescriptionBaseSO
{
[HideInInspector] public PathSO lastPathTaken;
}

17
UOP1_Project/Assets/ScriptableObjects/RuntimeAnchors/PathTaken.asset


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a3f6d258ef1d442128bb2af4b61592d8, type: 3}
m_Name: PathTaken
m_EditorClassIdentifier:
description: Contains the Path taken by the player, which is set by the LocationExit.
It can be used by the SpawnSystem to determine the LocationEntrance.
isSet: 0

24
UOP1_Project/Assets/Scripts/RuntimeAnchors/PathAnchor.cs


using UnityEngine;
[CreateAssetMenu(fileName = "New PathAnchor", menuName = "Runtime Anchors/Path")]
public class PathAnchor : RuntimeAnchorBase
{
[HideInInspector] public bool isSet = false; // Any script can check if the transform is null before using it, by just checking this bool
private PathSO _Path;
public PathSO Path
{
get { return _Path; }
set
{
_Path = value;
isSet = _Path != null;
}
}
public void OnDisable()
{
_Path = null;
isSet = false;
}
}

/UOP1_Project/Assets/Prefabs/Gameplay/Entrance.prefab.meta → /UOP1_Project/Assets/Prefabs/Gameplay/LocationEntrance.prefab.meta

/UOP1_Project/Assets/Prefabs/Gameplay/Entrance.prefab → /UOP1_Project/Assets/Prefabs/Gameplay/LocationEntrance.prefab

/UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/Glade_Landmass.prefab.meta → /UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/Hill_Landmass.prefab.meta

/UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/Glade_Landmass.prefab → /UOP1_Project/Assets/Prefabs/_SceneChunks/Landmasses/Hill_Landmass.prefab

/UOP1_Project/Assets/ScriptableObjects/Paths/BetweenBeachAndForest.asset.meta → /UOP1_Project/Assets/ScriptableObjects/Paths/FieldsHill_FieldsFarms.asset.meta

/UOP1_Project/Assets/ScriptableObjects/Paths/BetweenBeachAndGlade.asset.meta → /UOP1_Project/Assets/ScriptableObjects/Paths/Beach_FieldsHill.asset.meta

/UOP1_Project/Assets/ScriptableObjects/Paths/BetweenBeachAndTestingGround.asset.meta → /UOP1_Project/Assets/ScriptableObjects/Paths/FieldsFarms_TownMarket.asset.meta

/UOP1_Project/Assets/ScriptableObjects/Paths/BetweenBeachAndForest.asset → /UOP1_Project/Assets/ScriptableObjects/Paths/Beach_FieldsHill.asset

/UOP1_Project/Assets/ScriptableObjects/Paths/BetweenBeachAndGlade.asset → /UOP1_Project/Assets/ScriptableObjects/Paths/FieldsFarms_TownMarket.asset

/UOP1_Project/Assets/ScriptableObjects/Paths/BetweenBeachAndTestingGround.asset → /UOP1_Project/Assets/ScriptableObjects/Paths/FieldsHill_FieldsFarms.asset

/UOP1_Project/Assets/Scripts/RuntimeAnchors/PathAnchor.cs.meta → /UOP1_Project/Assets/Scripts/RuntimeAnchors/PathStorageSO.cs.meta

/UOP1_Project/Assets/ScriptableObjects/RuntimeAnchors/PathTaken.asset.meta → /UOP1_Project/Assets/ScriptableObjects/Gameplay/PathTaken.asset.meta

正在加载...
取消
保存