浏览代码

Merge remote-tracking branch 'origin/main' into AmelMain

/main
Amel Negra 4 年前
当前提交
8151f1b5
共有 432 个文件被更改,包括 4999 次插入1554 次删除
  1. 1
      UOP1_Project/.gitignore
  2. 6
      UOP1_Project/Assets/AddressableAssetsData/AssetGroups/Default Local Group.asset
  3. 4
      UOP1_Project/Assets/AddressableAssetsData/AssetGroups/Localization-Assets-Shared.asset
  4. 5
      UOP1_Project/Assets/AddressableAssetsData/AssetGroups/Localization-String-Tables-English (en).asset
  5. 5
      UOP1_Project/Assets/AddressableAssetsData/AssetGroups/Localization-String-Tables-French (fr).asset
  6. 5
      UOP1_Project/Assets/AddressableAssetsData/AssetGroups/Localization-String-Tables-Italian (it).asset
  7. 17
      UOP1_Project/Assets/Art/UI/FinalUI/_Settings/BtnArrowLeftDisabled.png
  8. 13
      UOP1_Project/Assets/Art/UI/FinalUI/_Settings/BtnArrowLeftNormal.png
  9. 14
      UOP1_Project/Assets/Art/UI/FinalUI/_Settings/BtnArrowRightNormal.png
  10. 40
      UOP1_Project/Assets/LocalizationFiles/AssetTables/Inventory/InventoryMisc Shared Data.asset
  11. 40
      UOP1_Project/Assets/LocalizationFiles/AssetTables/Inventory/InventoryMisc_en.asset
  12. 40
      UOP1_Project/Assets/LocalizationFiles/AssetTables/Inventory/InventoryMisc_fr.asset
  13. 2
      UOP1_Project/Assets/Prefabs/Gameplay/EditorInitializer.prefab
  14. 3
      UOP1_Project/Assets/Prefabs/Managers/CutsceneManager.prefab
  15. 1
      UOP1_Project/Assets/Prefabs/Managers/DialogueManager.prefab
  16. 2
      UOP1_Project/Assets/Prefabs/Managers/GameManager.prefab
  17. 15
      UOP1_Project/Assets/Prefabs/Managers/UIManager.prefab
  18. 4
      UOP1_Project/Assets/Prefabs/UI/ButtonMenu.prefab
  19. 1
      UOP1_Project/Assets/Prefabs/UI/IngredientTypeTab.prefab
  20. 23
      UOP1_Project/Assets/Prefabs/UI/InventoryScreen.prefab
  21. 938
      UOP1_Project/Assets/Scenes/Managers/Gameplay.unity
  22. 992
      UOP1_Project/Assets/Scenes/Menus/MainMenu.unity
  23. 16
      UOP1_Project/Assets/Scenes/WIP/TestingGround.unity
  24. 2
      UOP1_Project/Assets/Scenes/Whiteboxing.meta
  25. 4
      UOP1_Project/Assets/ScriptableObjects/Inventory/ItemTypes/CharacterCustomization.asset
  26. 4
      UOP1_Project/Assets/ScriptableObjects/Inventory/ItemTypes/Ingredient.asset
  27. 4
      UOP1_Project/Assets/ScriptableObjects/Inventory/ItemTypes/Recipe.asset
  28. 6
      UOP1_Project/Assets/ScriptableObjects/Inventory/ItemTypes/Utensil.asset
  29. 11
      UOP1_Project/Assets/Scripts/Characters/Protagonist.cs
  30. 2
      UOP1_Project/Assets/Scripts/Characters/StateMachine/Actions/DropRewardSO.cs
  31. 24
      UOP1_Project/Assets/Scripts/Cutscenes/CutsceneManager.cs
  32. 32
      UOP1_Project/Assets/Scripts/Dialogues/DialogueManager.cs
  33. 675
      UOP1_Project/Assets/Scripts/Input/GameInput.cs
  34. 11
      UOP1_Project/Assets/Scripts/Input/InputReader.cs
  35. 10
      UOP1_Project/Assets/Scripts/Inventory/CollectableItem.cs
  36. 12
      UOP1_Project/Assets/Scripts/Inventory/InventoryItemFiller.cs
  37. 20
      UOP1_Project/Assets/Scripts/Inventory/InventoryListFiller.cs
  38. 52
      UOP1_Project/Assets/Scripts/Inventory/InventoryManager.cs
  39. 48
      UOP1_Project/Assets/Scripts/Inventory/UIInventoryManager.cs
  40. 9
      UOP1_Project/Assets/Scripts/Quests/QuestManagerSO.cs
  41. 11
      UOP1_Project/Assets/Scripts/Quests/StepController.cs.meta
  42. 2
      UOP1_Project/Assets/Scripts/SaveSystem/SaveSystem.cs
  43. 13
      UOP1_Project/Assets/Scripts/SceneManagement/EditorColdStartup.cs
  44. 3
      UOP1_Project/Assets/Scripts/SceneManagement/EditorColdStartup.cs.meta
  45. 4
      UOP1_Project/Assets/Scripts/SceneManagement/SceneLoader.cs
  46. 75
      UOP1_Project/Assets/Scripts/SceneManagement/StartGame.cs
  47. 12
      UOP1_Project/Assets/Scripts/UI/InventoryButtonFiller.cs
  48. 7
      UOP1_Project/Assets/Scripts/UI/InventoryTypeTabFiller.cs
  49. 4
      UOP1_Project/Assets/Scripts/UI/UIButtonPromptSetter.cs
  50. 6
      UOP1_Project/Assets/Scripts/UI/UIDialogueManager.cs
  51. 26
      UOP1_Project/Assets/Scripts/UI/UIHealthBarManager.cs
  52. 10
      UOP1_Project/Assets/Scripts/UI/UIInteractionItemFiller.cs
  53. 120
      UOP1_Project/Assets/Scripts/UI/UIManager.cs
  54. 32
      UOP1_Project/Assets/Settings/Input/GameInput.inputactions
  55. 2
      UOP1_Project/Assets/Tutorials/TutorialWelcomePage.asset
  56. 2
      UOP1_Project/Assets/Tutorials/TutorialProjectSettings.asset
  57. 2
      UOP1_Project/Assets/WIP/Materials/Probuilder_Toon.mat
  58. 20
      UOP1_Project/Assets/WIP/Materials/Prototype_Sand.mat
  59. 20
      UOP1_Project/Assets/WIP/Materials/Prototyping_Grey.mat
  60. 2
      UOP1_Project/Assets/WIP/Materials/Prototype_Ground.mat
  61. 18
      UOP1_Project/UserSettings/EditorUserSettings.asset
  62. 2
      UOP1_Project/Assets/Art/UI/FinalUI/BG_Unselected.png.meta
  63. 12
      UOP1_Project/Assets/Scripts/Gameplay/SpawnSystem.cs
  64. 19
      UOP1_Project/Assets/Scenes/Whiteboxing/Community/GeneralMapMediumMultipleScenes/Farms.unity
  65. 16
      UOP1_Project/Assets/Scenes/Whiteboxing/Community/GeneralMapMediumMultipleScenes/Glade.unity
  66. 21
      UOP1_Project/Assets/Scenes/Whiteboxing/Community/GeneralMapMediumMultipleScenes/RockyPath.unity
  67. 16
      UOP1_Project/Assets/Scenes/Whiteboxing/Community/GeneralMapMediumMultipleScenes/Town.unity
  68. 1
      UOP1_Project/Assets/.DS_Store
  69. 2
      UOP1_Project/Assets/Art/UI/FinalUI/.DS_Store
  70. 8
      UOP1_Project/Assets/Art/UI/FinalUI/BG_Unselected.png
  71. 1
      UOP1_Project/Assets/LocalizationFiles/.DS_Store
  72. 8
      UOP1_Project/Assets/LocalizationFiles/AssetTables/UI.meta
  73. 8
      UOP1_Project/Assets/Prefabs/Prototyping.meta
  74. 1001
      UOP1_Project/Assets/Prefabs/UI/Canvas-MainMenu.prefab
  75. 7
      UOP1_Project/Assets/Prefabs/UI/Canvas-MainMenu.prefab.meta
  76. 1001
      UOP1_Project/Assets/Prefabs/UI/Pause_Screen.prefab
  77. 7
      UOP1_Project/Assets/Prefabs/UI/Pause_Screen.prefab.meta
  78. 8
      UOP1_Project/Assets/Prefabs/UI/Popup.meta
  79. 367
      UOP1_Project/Assets/Prefabs/UI/UnpauseButton.prefab
  80. 7
      UOP1_Project/Assets/Prefabs/UI/UnpauseButton.prefab.meta
  81. 8
      UOP1_Project/Assets/Prefabs/UI/WIP.meta
  82. 8
      UOP1_Project/Assets/Samples/Localization/0.11.1-preview.meta
  83. 451
      UOP1_Project/Assets/Scenes/WIP/UI Integration.unity
  84. 8
      UOP1_Project/Assets/Scenes/Whiteboxing/Community.meta
  85. 8
      UOP1_Project/Assets/Scenes/Whiteboxing/WhiteboxingMaster_v1.meta
  86. 7
      UOP1_Project/Assets/Scenes/Whiteboxing/WhiteboxingMaster_v1.unity.meta
  87. 1
      UOP1_Project/Assets/ScriptableObjects/Events/.DS_Store
  88. 8
      UOP1_Project/Assets/ScriptableObjects/Events/MainMenu.meta
  89. 15
      UOP1_Project/Assets/ScriptableObjects/Events/UI/BackToMenuEvent.asset
  90. 8
      UOP1_Project/Assets/ScriptableObjects/Events/UI/BackToMenuEvent.asset.meta
  91. 15
      UOP1_Project/Assets/ScriptableObjects/Events/UI/ButtonPopupEvent.asset

1
UOP1_Project/.gitignore


# Unity3D generated file on crash reports
sysinfo.txt
debug.log
# Builds
*.apk

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


m_Data:
m_SerializedData: []
m_GUID: a7bae5f88e2e24365bdf768f42df85c5
m_SerializeEntries: []
m_SerializeEntries:
- 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:

4
UOP1_Project/Assets/AddressableAssetsData/AssetGroups/Localization-Assets-Shared.asset


Data.asset
m_ReadOnly: 1
m_SerializedLabels: []
- m_GUID: 457af5455987a4876acc4332c3a761e5
m_Address: Assets/UI/UI Misc Shared Data.asset
m_ReadOnly: 1
m_SerializedLabels: []
m_ReadOnly: 1
m_Settings: {fileID: 11400000, guid: bffab80dc16c4464b92b2e97b6a1964c, type: 2}
m_SchemaSet:

5
UOP1_Project/Assets/AddressableAssetsData/AssetGroups/Localization-String-Tables-English (en).asset


m_SerializedLabels:
- Locale-en
- Preload
- m_GUID: fc61cf67430c14704af9f7960e51e131
m_Address: UI Misc_en
m_ReadOnly: 1
m_SerializedLabels:
- Locale-en
m_ReadOnly: 1
m_Settings: {fileID: 11400000, guid: bffab80dc16c4464b92b2e97b6a1964c, type: 2}
m_SchemaSet:

5
UOP1_Project/Assets/AddressableAssetsData/AssetGroups/Localization-String-Tables-French (fr).asset


m_SerializedLabels:
- Locale-fr
- Preload
- m_GUID: 083d2bd7899c6424fb37092e347b1f87
m_Address: UI Misc_fr
m_ReadOnly: 1
m_SerializedLabels:
- Locale-fr
m_ReadOnly: 1
m_Settings: {fileID: 11400000, guid: bffab80dc16c4464b92b2e97b6a1964c, type: 2}
m_SchemaSet:

5
UOP1_Project/Assets/AddressableAssetsData/AssetGroups/Localization-String-Tables-Italian (it).asset


m_SerializedLabels:
- Locale-it
- Preload
- m_GUID: 529d8c518367c45209cd34683f17a4f9
m_Address: UI Misc_it
m_ReadOnly: 1
m_SerializedLabels:
- Locale-it
m_ReadOnly: 1
m_Settings: {fileID: 11400000, guid: bffab80dc16c4464b92b2e97b6a1964c, type: 2}
m_SchemaSet:

17
UOP1_Project/Assets/Art/UI/FinalUI/_Settings/BtnArrowLeftDisabled.png

之前 之后
宽度: 37  |  高度: 51  |  大小: 5.4 KiB

13
UOP1_Project/Assets/Art/UI/FinalUI/_Settings/BtnArrowLeftNormal.png

之前 之后
宽度: 37  |  高度: 51  |  大小: 5.4 KiB

14
UOP1_Project/Assets/Art/UI/FinalUI/_Settings/BtnArrowRightNormal.png

之前 之后
宽度: 37  |  高度: 51  |  大小: 5.4 KiB

40
UOP1_Project/Assets/LocalizationFiles/AssetTables/Inventory/InventoryMisc Shared Data.asset


m_Key: Eat
m_Metadata:
m_Items: []
- m_Id: 4343019200307200
m_Key: Audio
m_Metadata:
m_Items: []
- m_Id: 4343061285953536
m_Key: Language
m_Metadata:
m_Items: []
- m_Id: 4343120337559552
m_Key: Graphics
m_Metadata:
m_Items: []
- m_Id: 4365754475470848
m_Key: SFX
m_Metadata:
m_Items: []
- m_Id: 4365955084836864
m_Key: Resolution
m_Metadata:
m_Items: []
- m_Id: 4366250359644160
m_Key: Fullscreen
m_Metadata:
m_Items: []
- m_Id: 4366384514457600
m_Key: Graphic_Quality
m_Metadata:
m_Items: []
- m_Id: 4366556778717184
m_Key: Anti_Aliasing
m_Metadata:
m_Items: []
- m_Id: 4366706561507328
m_Key: Shadow
m_Metadata:
m_Items: []
- m_Id: 4389053741916160
m_Key: Music
m_Metadata:
m_Items: []
m_Metadata:
m_Items: []
m_KeyGenerator:

40
UOP1_Project/Assets/LocalizationFiles/AssetTables/Inventory/InventoryMisc_en.asset


m_Localized: Eat
m_Metadata:
m_Items: []
- m_Id: 4343019200307200
m_Localized: Audio
m_Metadata:
m_Items: []
- m_Id: 4343061285953536
m_Localized: Language
m_Metadata:
m_Items: []
- m_Id: 4343120337559552
m_Localized: Graphics
m_Metadata:
m_Items: []
- m_Id: 4365754475470848
m_Localized: SFX Volume
m_Metadata:
m_Items: []
- m_Id: 4365955084836864
m_Localized: Resolution
m_Metadata:
m_Items: []
- m_Id: 4366250359644160
m_Localized: Fullscreen
m_Metadata:
m_Items: []
- m_Id: 4366384514457600
m_Localized: Graphic quality
m_Metadata:
m_Items: []
- m_Id: 4366556778717184
m_Localized: Anti Aliasing
m_Metadata:
m_Items: []
- m_Id: 4366706561507328
m_Localized: Shadow
m_Metadata:
m_Items: []
- m_Id: 4389053741916160
m_Localized: Music Volume
m_Metadata:
m_Items: []
references:
version: 1

40
UOP1_Project/Assets/LocalizationFiles/AssetTables/Inventory/InventoryMisc_fr.asset


m_Localized: Manger
m_Metadata:
m_Items: []
- m_Id: 4343019200307200
m_Localized: Audio
m_Metadata:
m_Items: []
- m_Id: 4343061285953536
m_Localized: Langue
m_Metadata:
m_Items: []
- m_Id: 4343120337559552
m_Localized: Graphique
m_Metadata:
m_Items: []
- m_Id: 4365754475470848
m_Localized: SFX Volume
m_Metadata:
m_Items: []
- m_Id: 4365955084836864
m_Localized: Resolution
m_Metadata:
m_Items: []
- m_Id: 4366250359644160
m_Localized: "Plein \xE9cran"
m_Metadata:
m_Items: []
- m_Id: 4366384514457600
m_Localized: "Qualit\xE9 graphique"
m_Metadata:
m_Items: []
- m_Id: 4366556778717184
m_Localized: Anti Aliasing
m_Metadata:
m_Items: []
- m_Id: 4366706561507328
m_Localized: Ombres
m_Metadata:
m_Items: []
- m_Id: 4389053741916160
m_Localized: Volume de la musique
m_Metadata:
m_Items: []
references:
version: 1

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


m_SubObjectName:
m_SubObjectType:
m_EditorAssetChanged: 0
_onSceneReadyChannel: {fileID: 11400000, guid: b729e40fc41dd8b4ea7aaf5c857f7186,
type: 2}

3
UOP1_Project/Assets/Prefabs/Managers/CutsceneManager.prefab


m_Script: {fileID: 11500000, guid: 51755885c3e549b6b9c0a42acba7a0e8, type: 3}
m_Name:
m_EditorClassIdentifier:
_dialogueManager: {fileID: 0}
_dialogueManager: {fileID: 0}
_gameState: {fileID: 11400000, guid: 159f9c22d98e249ceb08f2c5de2311a4, type: 2}
_playCutsceneEvent: {fileID: 11400000, guid: 9397b637ea93a3a4fb144834511eb199, type: 2}
_playDialogueEvent: {fileID: 11400000, guid: f235c0e2f24681044aa448291b13aaac, type: 2}
_pauseTimelineEvent: {fileID: 11400000, guid: 9b0fb5f181adc6b4ca020743fed6c020,

1
UOP1_Project/Assets/Prefabs/Managers/DialogueManager.prefab


_continueWithStep: {fileID: 11400000, guid: 6711182c372e2e94a8bd3fd1868223ec, type: 2}
_closeDialogueUIEvent: {fileID: 11400000, guid: 53a7f1f01ef364704b1d45d01f2421ae,
type: 2}
_gameState: {fileID: 11400000, guid: 159f9c22d98e249ceb08f2c5de2311a4, type: 2}

2
UOP1_Project/Assets/Prefabs/Managers/GameManager.prefab


m_Name:
m_EditorClassIdentifier:
_questManager: {fileID: 11400000, guid: dacb138678b7c2344b59c68de5dc18db, type: 2}
_gameState: {fileID: 11400000, guid: 159f9c22d98e249ceb08f2c5de2311a4, type: 2}
_inputReader: {fileID: 11400000, guid: 945ec0365077176418488737deed54be, type: 2}

15
UOP1_Project/Assets/Prefabs/Managers/UIManager.prefab


m_GameObject: {fileID: 8313085416397863410}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 553.7176, y: 111.36853, z: 61.93091}
m_LocalScale: {x: 1, y: 1, z: 1}
m_LocalScale: {x: 2.030888, y: 2.030888, z: 2.030888}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0

_dialogueController: {fileID: 0}
_inventoryPanel: {fileID: 0}
_interactionPanel: {fileID: 0}
_pauseScreen: {fileID: 0}
_settingScreen: {fileID: 0}
_gameState: {fileID: 11400000, guid: 159f9c22d98e249ceb08f2c5de2311a4, type: 2}
_inputReader: {fileID: 11400000, guid: 945ec0365077176418488737deed54be, type: 2}
_onSceneReady: {fileID: 11400000, guid: b729e40fc41dd8b4ea7aaf5c857f7186, type: 2}
_openUIDialogueEvent: {fileID: 11400000, guid: d987db4881d794f2da0013a89588d890,

_openInventoryScreenEvent: {fileID: 11400000, guid: 30f6db2122a30480b996908173e1c7d7,
_closeUIInventoryEvent: {fileID: 11400000, guid: 7c54b41498f9a487ca9f96f8cde68524,
_closeInventoryScreenEvent: {fileID: 11400000, guid: f6f7aad2f09f04ebf8d89aa6f52a6102,
type: 2}
_clickUnpauseEvent: {fileID: 11400000, guid: 304f07d530dd9491ca3462d3fff0f83f, type: 2}
_clickBackToMenuEvent: {fileID: 11400000, guid: 8f12ed2d2825d4e0a88a72c2693c688d,
type: 2}
_openSettingEvent: {fileID: 11400000, guid: 7bf6e10e5b9c745799d4ab0fa041e72d, type: 2}
_closeSettingScreenEvent: {fileID: 11400000, guid: c42d49d01efc749a9a5326b51dcc32af,
type: 2}

4
UOP1_Project/Assets/Prefabs/UI/ButtonMenu.prefab


m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_Mode: 2
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}

m_Colors:
m_NormalColor: {r: 0.93725497, g: 0.89019614, b: 0.75294125, a: 1}
m_HighlightedColor: {r: 0.8962264, g: 0.8174333, b: 0.58762014, a: 1}
m_HighlightedColor: {r: 0.85098046, g: 0.63529414, b: 0.454902, a: 1}
m_PressedColor: {r: 0.9528302, g: 0.71387357, b: 0.50787646, a: 1}
m_SelectedColor: {r: 0.92156863, g: 0.5803922, b: 0.28627452, a: 1}
m_DisabledColor: {r: 0.7176471, g: 0.61960787, b: 0.48235297, a: 0.85882354}

1
UOP1_Project/Assets/Prefabs/UI/IngredientTypeTab.prefab


_actionButton: {fileID: 6416758842641707247}
_selectedIconColor: {r: 0.5803922, g: 0.427451, b: 0.28627452, a: 1}
_deselectedIconColor: {r: 0.7176471, g: 0.61960787, b: 0.48235297, a: 1}
_changeTabEvent: {fileID: 11400000, guid: 1aa5529abb4a341bd855f71a5493ec8c, type: 2}
--- !u!1 &8749842262858920214
GameObject:
m_ObjectHideFlags: 0

23
UOP1_Project/Assets/Prefabs/UI/InventoryScreen.prefab


m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
m_IsActive: 1
--- !u!224 &9125883718042355530
RectTransform:
m_ObjectHideFlags: 0

- target: {fileID: 657795093660955452, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_IsActive
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5795051186182416585, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}

type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 11400000, guid: f6f7aad2f09f04ebf8d89aa6f52a6102,
objectReference: {fileID: 11400000, guid: 7c54b41498f9a487ca9f96f8cde68524,
type: 2}
- target: {fileID: 7745052901829238491, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}

type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
value: RaiseEvent
objectReference: {fileID: 0}
- target: {fileID: 7745052901829238491, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName
value: VoidEventChannelSO, Assembly-CSharp
objectReference: {fileID: 0}
- target: {fileID: 7745052901829238491, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}

- target: {fileID: 7745052901829238491, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size
value: 0
value: 1
objectReference: {fileID: 11400000, guid: 9c96a79e2ffe84add980e399abf85618,
type: 2}
objectReference: {fileID: 8305677519979660487}
value: RaiseEvent
value: ActionButtonEventRaised
objectReference: {fileID: 0}
- target: {fileID: 7745052901829238491, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName
value: InventoryButtonFiller, Assembly-CSharp
objectReference: {fileID: 0}
- target: {fileID: 7745052901829238491, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}

938
UOP1_Project/Assets/Scenes/Managers/Gameplay.unity
文件差异内容过多而无法显示
查看文件

992
UOP1_Project/Assets/Scenes/Menus/MainMenu.unity
文件差异内容过多而无法显示
查看文件

16
UOP1_Project/Assets/Scenes/WIP/TestingGround.unity
文件差异内容过多而无法显示
查看文件

2
UOP1_Project/Assets/Scenes/Whiteboxing.meta


fileFormatVersion: 2
guid: 02fefe4cca895d34faa5af6634a99b99
guid: c699e0c5243238b47ba53935ca2a7757
folderAsset: yes
DefaultImporter:
externalObjects: {}

4
UOP1_Project/Assets/ScriptableObjects/Inventory/ItemTypes/CharacterCustomization.asset


m_TableReference:
m_TableCollectionName: GUID:4ac9e5091d0514d5c91eeeb5d5fb852e
m_TableEntryReference:
m_KeyId: 9515819008
m_KeyId: 40314593280
m_Key:
m_FallbackState: 0
_typeName:

m_KeyId: 40314593280
m_KeyId: 9515819008
m_Key:
m_FallbackState: 0
_typeColor: {r: 1, g: 0, b: 0.7267132, a: 1}

4
UOP1_Project/Assets/ScriptableObjects/Inventory/ItemTypes/Ingredient.asset


m_TableReference:
m_TableCollectionName: GUID:4ac9e5091d0514d5c91eeeb5d5fb852e
m_TableEntryReference:
m_KeyId: 63681060864
m_KeyId: 9104777216
m_Key:
m_FallbackState: 0
_typeName:

m_KeyId: 9104777216
m_KeyId: 63681060864
m_Key:
m_FallbackState: 0
_typeColor: {r: 1, g: 0.5026138, b: 0, a: 1}

4
UOP1_Project/Assets/ScriptableObjects/Inventory/ItemTypes/Recipe.asset


m_TableReference:
m_TableCollectionName: GUID:4ac9e5091d0514d5c91eeeb5d5fb852e
m_TableEntryReference:
m_KeyId: 19204661248
m_KeyId: 5159170121654272
m_Key:
m_FallbackState: 0
_typeName:

m_KeyId: 5159170121654272
m_KeyId: 19204661248
m_Key:
m_FallbackState: 0
_typeColor: {r: 0.7564373, g: 0.7028302, b: 1, a: 1}

6
UOP1_Project/Assets/ScriptableObjects/Inventory/ItemTypes/Utensil.asset


m_EditorClassIdentifier:
_actionName:
m_TableReference:
m_TableCollectionName: GUID:4ac9e5091d0514d5c91eeeb5d5fb852e
m_TableCollectionName:
m_KeyId: 111147999232
m_KeyId: 0
m_TableCollectionName: GUID:5654218660b564ff7a2858b08dfbf571
m_TableCollectionName: GUID:4ac9e5091d0514d5c91eeeb5d5fb852e
m_TableEntryReference:
m_KeyId: 111147999232
m_Key:

11
UOP1_Project/Assets/Scripts/Characters/Protagonist.cs


_inputReader.jumpEvent += OnJumpInitiated;
_inputReader.jumpCanceledEvent += OnJumpCanceled;
_inputReader.moveEvent += OnMove;
_inputReader.openInventoryEvent += OnOpenInventory;
_inputReader.startedRunning += OnStartedRunning;
_inputReader.stoppedRunning += OnStoppedRunning;
_inputReader.attackEvent += OnStartedAttack;

_inputReader.jumpEvent -= OnJumpInitiated;
_inputReader.jumpCanceledEvent -= OnJumpCanceled;
_inputReader.moveEvent -= OnMove;
_inputReader.openInventoryEvent -= OnOpenInventory;
_inputReader.startedRunning -= OnStartedRunning;
_inputReader.stoppedRunning -= OnStoppedRunning;
_inputReader.attackEvent -= OnStartedAttack;

{
// This is used to set the speed to the maximum if holding the Shift key,
// to allow keyboard players to "run"
if(isRunning)
if (isRunning)
targetSpeed = 1f;
if (attackInput)

private void OnStoppedRunning() => isRunning = false;
private void OnStartedRunning() => isRunning = true;
private void OnOpenInventory()
{
_openInventoryChannel.RaiseEvent();
}
private void OnStartedAttack() => attackInput = true;

2
UOP1_Project/Assets/Scripts/Characters/StateMachine/Actions/DropRewardSO.cs


position + itemPrefab.transform.localPosition +
_dropRewardConfig.ScatteringDistance * (Mathf.Cos(randAngle) * Vector3.forward + Mathf.Sin(randAngle) * Vector3.right),
Quaternion.identity);
collectibleItem.GetComponent<CollectableItem>().AnimateItem();
collectibleItem.GetComponent<CollectableItem>().AnimateItem();
}
}

24
UOP1_Project/Assets/Scripts/Cutscenes/CutsceneManager.cs


public class CutsceneManager : MonoBehaviour
{
[SerializeField] private DialogueManager _dialogueManager = default;
[Header("Gameplay Components")]
[SerializeField] private DialogueManager _dialogueManager = default;
[SerializeField] private GameStateSO _gameState = default;
[Header("Listening to channels")]
[SerializeField] private PlayableDirectorChannelSO _playCutsceneEvent = default;
[SerializeField] public DialogueLineChannelSO _playDialogueEvent = default;

}
private void Start()
{
_playCutsceneEvent.OnEventRaised += PlayCutscene;
_playDialogueEvent.OnEventRaised += PlayDialogueFromClip;
_pauseTimelineEvent.OnEventRaised += PauseTimeline;
_playCutsceneEvent.OnEventRaised += PlayCutscene;
_playDialogueEvent.OnEventRaised += PlayDialogueFromClip;
_pauseTimelineEvent.OnEventRaised += PauseTimeline;
_gameState.UpdateGameState(GameState.Cutscene);
_activePlayableDirector = activePlayableDirector;
_isPaused = false;

void CutsceneEnded()
{
_gameState.ResetToPreviousGameState();
if (_activePlayableDirector != null)
_activePlayableDirector.stopped -= HandleDirectorStopped;

32
UOP1_Project/Assets/Scripts/Dialogues/DialogueManager.cs


[SerializeField] private VoidEventChannelSO _continueWithStep = default;
[SerializeField] private VoidEventChannelSO _closeDialogueUIEvent = default;
[Header("Gameplay Components")]
[SerializeField]
private GameStateSO _gameState = default;
_startDialogue.OnEventRaised += DisplayDialogueData;
_startDialogue.OnEventRaised += DisplayDialogueData;
}

/// <param name="dialogueDataSO"></param>
public void DisplayDialogueData(DialogueDataSO dialogueDataSO)
{
if (_gameState.CurrentGameState != GameState.Cutscene)
_gameState.UpdateGameState(GameState.Dialogue);
BeginDialogueData(dialogueDataSO);
DisplayDialogueLine(_currentDialogue.DialogueLines[_counter], dialogueDataSO.Actor);
}

/// <param name="dialogueLine"></param>
public void DisplayDialogueLine(LocalizedString dialogueLine, ActorSO actor)
{
_openUIDialogueEvent.RaiseEvent(dialogueLine, actor);
_openUIDialogueEvent.RaiseEvent(dialogueLine, actor);
}
private void OnAdvance()

private void DisplayChoices(List<Choice> choices)
{
_inputReader.advanceDialogueEvent -= OnAdvance;
_makeDialogueChoiceEvent.OnEventRaised += MakeDialogueChoice;
_showChoicesUIEvent.RaiseEvent(choices);
_makeDialogueChoiceEvent.OnEventRaised += MakeDialogueChoice;
_showChoicesUIEvent.RaiseEvent(choices);
_makeDialogueChoiceEvent.OnEventRaised -= MakeDialogueChoice;
_makeDialogueChoiceEvent.OnEventRaised -= MakeDialogueChoice;
if (choice.ActionType == ChoiceActionType.continueWithStep)
{
if (_continueWithStep != null)

{
if (_endDialogue != null)
_endDialogue.RaiseEvent(_currentDialogue);
_gameState.ResetToPreviousGameState();
_gameState.ResetToPreviousGameState();
_inputReader.advanceDialogueEvent -= OnAdvance;
_inputReader.EnableGameplayInput();

675
UOP1_Project/Assets/Scripts/Input/GameInput.cs


public class @GameInput : IInputActionCollection, IDisposable
{
public InputActionAsset asset { get; }
public @GameInput()
{
asset = InputActionAsset.FromJson(@"{
public InputActionAsset asset { get; }
public @GameInput()
{
asset = InputActionAsset.FromJson(@"{
""name"": ""GameInput"",
""maps"": [
{

""interactions"": """"
},
{
""name"": ""ClosePopupEvent"",
""type"": ""Button"",
""id"": ""efe86ed9-53ac-4a9f-8894-0936a1bc3319"",
""expectedControlType"": ""Button"",
""processors"": """",
""interactions"": """"
},
{
""name"": ""ChangeTab"",
""type"": ""Button"",
""id"": ""abff37db-1fb3-4f26-bceb-8ecdfc99fdef"",

{
""name"": """",
""id"": ""4306a7b2-67e8-4e85-9264-99218bea9eb4"",
""path"": ""<Keyboard>/a"",
""path"": ""<Keyboard>/q"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",

""action"": ""InventoryActionButton"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""8de239c2-a886-4c69-8890-06ba68d86a9a"",
""path"": ""<Gamepad>/buttonEast"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""ClosePopupEvent"",
""isComposite"": false,
""isPartOfComposite"": false
},
{
""name"": """",
""id"": ""fb9d51ec-83a8-43f2-ae0c-2872920cbbc9"",
""path"": ""<Keyboard>/escape"",
""interactions"": """",
""processors"": """",
""groups"": ""KeyboardOrGamepad"",
""action"": ""ClosePopupEvent"",
""isComposite"": false,
""isPartOfComposite"": false
}
]
},

}
]
}");
// Gameplay
m_Gameplay = asset.FindActionMap("Gameplay", throwIfNotFound: true);
m_Gameplay_Move = m_Gameplay.FindAction("Move", throwIfNotFound: true);
m_Gameplay_Jump = m_Gameplay.FindAction("Jump", throwIfNotFound: true);
m_Gameplay_Attack = m_Gameplay.FindAction("Attack", throwIfNotFound: true);
m_Gameplay_Interact = m_Gameplay.FindAction("Interact", throwIfNotFound: true);
m_Gameplay_Pause = m_Gameplay.FindAction("Pause", throwIfNotFound: true);
m_Gameplay_OpenInventory = m_Gameplay.FindAction("OpenInventory", throwIfNotFound: true);
m_Gameplay_RotateCamera = m_Gameplay.FindAction("RotateCamera", throwIfNotFound: true);
m_Gameplay_MouseControlCamera = m_Gameplay.FindAction("MouseControlCamera", throwIfNotFound: true);
m_Gameplay_Run = m_Gameplay.FindAction("Run", throwIfNotFound: true);
// Menus
m_Menus = asset.FindActionMap("Menus", throwIfNotFound: true);
m_Menus_MoveSelection = m_Menus.FindAction("MoveSelection", throwIfNotFound: true);
m_Menus_Confirm = m_Menus.FindAction("Confirm", throwIfNotFound: true);
m_Menus_Cancel = m_Menus.FindAction("Cancel", throwIfNotFound: true);
m_Menus_MouseMove = m_Menus.FindAction("MouseMove", throwIfNotFound: true);
m_Menus_Unpause = m_Menus.FindAction("Unpause", throwIfNotFound: true);
m_Menus_ChangeTab = m_Menus.FindAction("ChangeTab", throwIfNotFound: true);
m_Menus_InventoryActionButton = m_Menus.FindAction("InventoryActionButton", throwIfNotFound: true);
// Dialogues
m_Dialogues = asset.FindActionMap("Dialogues", throwIfNotFound: true);
m_Dialogues_MoveSelection = m_Dialogues.FindAction("MoveSelection", throwIfNotFound: true);
m_Dialogues_AdvanceDialogue = m_Dialogues.FindAction("AdvanceDialogue", throwIfNotFound: true);
}
// Gameplay
m_Gameplay = asset.FindActionMap("Gameplay", throwIfNotFound: true);
m_Gameplay_Move = m_Gameplay.FindAction("Move", throwIfNotFound: true);
m_Gameplay_Jump = m_Gameplay.FindAction("Jump", throwIfNotFound: true);
m_Gameplay_Attack = m_Gameplay.FindAction("Attack", throwIfNotFound: true);
m_Gameplay_Interact = m_Gameplay.FindAction("Interact", throwIfNotFound: true);
m_Gameplay_Pause = m_Gameplay.FindAction("Pause", throwIfNotFound: true);
m_Gameplay_OpenInventory = m_Gameplay.FindAction("OpenInventory", throwIfNotFound: true);
m_Gameplay_RotateCamera = m_Gameplay.FindAction("RotateCamera", throwIfNotFound: true);
m_Gameplay_MouseControlCamera = m_Gameplay.FindAction("MouseControlCamera", throwIfNotFound: true);
m_Gameplay_Run = m_Gameplay.FindAction("Run", throwIfNotFound: true);
// Menus
m_Menus = asset.FindActionMap("Menus", throwIfNotFound: true);
m_Menus_MoveSelection = m_Menus.FindAction("MoveSelection", throwIfNotFound: true);
m_Menus_Confirm = m_Menus.FindAction("Confirm", throwIfNotFound: true);
m_Menus_Cancel = m_Menus.FindAction("Cancel", throwIfNotFound: true);
m_Menus_MouseMove = m_Menus.FindAction("MouseMove", throwIfNotFound: true);
m_Menus_Unpause = m_Menus.FindAction("Unpause", throwIfNotFound: true);
m_Menus_ClosePopupEvent = m_Menus.FindAction("ClosePopupEvent", throwIfNotFound: true);
m_Menus_ChangeTab = m_Menus.FindAction("ChangeTab", throwIfNotFound: true);
m_Menus_InventoryActionButton = m_Menus.FindAction("InventoryActionButton", throwIfNotFound: true);
// Dialogues
m_Dialogues = asset.FindActionMap("Dialogues", throwIfNotFound: true);
m_Dialogues_MoveSelection = m_Dialogues.FindAction("MoveSelection", throwIfNotFound: true);
m_Dialogues_AdvanceDialogue = m_Dialogues.FindAction("AdvanceDialogue", throwIfNotFound: true);
}
public void Dispose()
{
UnityEngine.Object.Destroy(asset);
}
public void Dispose()
{
UnityEngine.Object.Destroy(asset);
}
public InputBinding? bindingMask
{
get => asset.bindingMask;
set => asset.bindingMask = value;
}
public InputBinding? bindingMask
{
get => asset.bindingMask;
set => asset.bindingMask = value;
}
public ReadOnlyArray<InputDevice>? devices
{
get => asset.devices;
set => asset.devices = value;
}
public ReadOnlyArray<InputDevice>? devices
{
get => asset.devices;
set => asset.devices = value;
}
public ReadOnlyArray<InputControlScheme> controlSchemes => asset.controlSchemes;
public ReadOnlyArray<InputControlScheme> controlSchemes => asset.controlSchemes;
public bool Contains(InputAction action)
{
return asset.Contains(action);
}
public bool Contains(InputAction action)
{
return asset.Contains(action);
}
public IEnumerator<InputAction> GetEnumerator()
{
return asset.GetEnumerator();
}
public IEnumerator<InputAction> GetEnumerator()
{
return asset.GetEnumerator();
}
IEnumerator IEnumerable.GetEnumerator()
{
return GetEnumerator();
}
IEnumerator IEnumerable.GetEnumerator()
{
return GetEnumerator();
}
public void Enable()
{
asset.Enable();
}
public void Enable()
{
asset.Enable();
}
public void Disable()
{
asset.Disable();
}
public void Disable()
{
asset.Disable();
}
// Gameplay
private readonly InputActionMap m_Gameplay;
private IGameplayActions m_GameplayActionsCallbackInterface;
private readonly InputAction m_Gameplay_Move;
private readonly InputAction m_Gameplay_Jump;
private readonly InputAction m_Gameplay_Attack;
private readonly InputAction m_Gameplay_Interact;
private readonly InputAction m_Gameplay_Pause;
private readonly InputAction m_Gameplay_OpenInventory;
private readonly InputAction m_Gameplay_RotateCamera;
private readonly InputAction m_Gameplay_MouseControlCamera;
private readonly InputAction m_Gameplay_Run;
public struct GameplayActions
{
private @GameInput m_Wrapper;
public GameplayActions(@GameInput wrapper) { m_Wrapper = wrapper; }
public InputAction @Move => m_Wrapper.m_Gameplay_Move;
public InputAction @Jump => m_Wrapper.m_Gameplay_Jump;
public InputAction @Attack => m_Wrapper.m_Gameplay_Attack;
public InputAction @Interact => m_Wrapper.m_Gameplay_Interact;
public InputAction @Pause => m_Wrapper.m_Gameplay_Pause;
public InputAction @OpenInventory => m_Wrapper.m_Gameplay_OpenInventory;
public InputAction @RotateCamera => m_Wrapper.m_Gameplay_RotateCamera;
public InputAction @MouseControlCamera => m_Wrapper.m_Gameplay_MouseControlCamera;
public InputAction @Run => m_Wrapper.m_Gameplay_Run;
public InputActionMap Get() { return m_Wrapper.m_Gameplay; }
public void Enable() { Get().Enable(); }
public void Disable() { Get().Disable(); }
public bool enabled => Get().enabled;
public static implicit operator InputActionMap(GameplayActions set) { return set.Get(); }
public void SetCallbacks(IGameplayActions instance)
{
if (m_Wrapper.m_GameplayActionsCallbackInterface != null)
{
@Move.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnMove;
@Move.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnMove;
@Move.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnMove;
@Jump.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnJump;
@Jump.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnJump;
@Jump.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnJump;
@Attack.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnAttack;
@Attack.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnAttack;
@Attack.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnAttack;
@Interact.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnInteract;
@Interact.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnInteract;
@Interact.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnInteract;
@Pause.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnPause;
@Pause.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnPause;
@Pause.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnPause;
@OpenInventory.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnOpenInventory;
@OpenInventory.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnOpenInventory;
@OpenInventory.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnOpenInventory;
@RotateCamera.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnRotateCamera;
@RotateCamera.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnRotateCamera;
@RotateCamera.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnRotateCamera;
@MouseControlCamera.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnMouseControlCamera;
@MouseControlCamera.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnMouseControlCamera;
@MouseControlCamera.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnMouseControlCamera;
@Run.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnRun;
@Run.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnRun;
@Run.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnRun;
}
m_Wrapper.m_GameplayActionsCallbackInterface = instance;
if (instance != null)
{
@Move.started += instance.OnMove;
@Move.performed += instance.OnMove;
@Move.canceled += instance.OnMove;
@Jump.started += instance.OnJump;
@Jump.performed += instance.OnJump;
@Jump.canceled += instance.OnJump;
@Attack.started += instance.OnAttack;
@Attack.performed += instance.OnAttack;
@Attack.canceled += instance.OnAttack;
@Interact.started += instance.OnInteract;
@Interact.performed += instance.OnInteract;
@Interact.canceled += instance.OnInteract;
@Pause.started += instance.OnPause;
@Pause.performed += instance.OnPause;
@Pause.canceled += instance.OnPause;
@OpenInventory.started += instance.OnOpenInventory;
@OpenInventory.performed += instance.OnOpenInventory;
@OpenInventory.canceled += instance.OnOpenInventory;
@RotateCamera.started += instance.OnRotateCamera;
@RotateCamera.performed += instance.OnRotateCamera;
@RotateCamera.canceled += instance.OnRotateCamera;
@MouseControlCamera.started += instance.OnMouseControlCamera;
@MouseControlCamera.performed += instance.OnMouseControlCamera;
@MouseControlCamera.canceled += instance.OnMouseControlCamera;
@Run.started += instance.OnRun;
@Run.performed += instance.OnRun;
@Run.canceled += instance.OnRun;
}
}
}
public GameplayActions @Gameplay => new GameplayActions(this);
// Gameplay
private readonly InputActionMap m_Gameplay;
private IGameplayActions m_GameplayActionsCallbackInterface;
private readonly InputAction m_Gameplay_Move;
private readonly InputAction m_Gameplay_Jump;
private readonly InputAction m_Gameplay_Attack;
private readonly InputAction m_Gameplay_Interact;
private readonly InputAction m_Gameplay_Pause;
private readonly InputAction m_Gameplay_OpenInventory;
private readonly InputAction m_Gameplay_RotateCamera;
private readonly InputAction m_Gameplay_MouseControlCamera;
private readonly InputAction m_Gameplay_Run;
public struct GameplayActions
{
private @GameInput m_Wrapper;
public GameplayActions(@GameInput wrapper) { m_Wrapper = wrapper; }
public InputAction @Move => m_Wrapper.m_Gameplay_Move;
public InputAction @Jump => m_Wrapper.m_Gameplay_Jump;
public InputAction @Attack => m_Wrapper.m_Gameplay_Attack;
public InputAction @Interact => m_Wrapper.m_Gameplay_Interact;
public InputAction @Pause => m_Wrapper.m_Gameplay_Pause;
public InputAction @OpenInventory => m_Wrapper.m_Gameplay_OpenInventory;
public InputAction @RotateCamera => m_Wrapper.m_Gameplay_RotateCamera;
public InputAction @MouseControlCamera => m_Wrapper.m_Gameplay_MouseControlCamera;
public InputAction @Run => m_Wrapper.m_Gameplay_Run;
public InputActionMap Get() { return m_Wrapper.m_Gameplay; }
public void Enable() { Get().Enable(); }
public void Disable() { Get().Disable(); }
public bool enabled => Get().enabled;
public static implicit operator InputActionMap(GameplayActions set) { return set.Get(); }
public void SetCallbacks(IGameplayActions instance)
{
if (m_Wrapper.m_GameplayActionsCallbackInterface != null)
{
@Move.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnMove;
@Move.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnMove;
@Move.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnMove;
@Jump.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnJump;
@Jump.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnJump;
@Jump.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnJump;
@Attack.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnAttack;
@Attack.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnAttack;
@Attack.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnAttack;
@Interact.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnInteract;
@Interact.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnInteract;
@Interact.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnInteract;
@Pause.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnPause;
@Pause.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnPause;
@Pause.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnPause;
@OpenInventory.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnOpenInventory;
@OpenInventory.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnOpenInventory;
@OpenInventory.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnOpenInventory;
@RotateCamera.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnRotateCamera;
@RotateCamera.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnRotateCamera;
@RotateCamera.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnRotateCamera;
@MouseControlCamera.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnMouseControlCamera;
@MouseControlCamera.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnMouseControlCamera;
@MouseControlCamera.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnMouseControlCamera;
@Run.started -= m_Wrapper.m_GameplayActionsCallbackInterface.OnRun;
@Run.performed -= m_Wrapper.m_GameplayActionsCallbackInterface.OnRun;
@Run.canceled -= m_Wrapper.m_GameplayActionsCallbackInterface.OnRun;
}
m_Wrapper.m_GameplayActionsCallbackInterface = instance;
if (instance != null)
{
@Move.started += instance.OnMove;
@Move.performed += instance.OnMove;
@Move.canceled += instance.OnMove;
@Jump.started += instance.OnJump;
@Jump.performed += instance.OnJump;
@Jump.canceled += instance.OnJump;
@Attack.started += instance.OnAttack;
@Attack.performed += instance.OnAttack;
@Attack.canceled += instance.OnAttack;
@Interact.started += instance.OnInteract;
@Interact.performed += instance.OnInteract;
@Interact.canceled += instance.OnInteract;
@Pause.started += instance.OnPause;
@Pause.performed += instance.OnPause;
@Pause.canceled += instance.OnPause;
@OpenInventory.started += instance.OnOpenInventory;
@OpenInventory.performed += instance.OnOpenInventory;
@OpenInventory.canceled += instance.OnOpenInventory;
@RotateCamera.started += instance.OnRotateCamera;
@RotateCamera.performed += instance.OnRotateCamera;
@RotateCamera.canceled += instance.OnRotateCamera;
@MouseControlCamera.started += instance.OnMouseControlCamera;
@MouseControlCamera.performed += instance.OnMouseControlCamera;
@MouseControlCamera.canceled += instance.OnMouseControlCamera;
@Run.started += instance.OnRun;
@Run.performed += instance.OnRun;
@Run.canceled += instance.OnRun;
}
}
}
public GameplayActions @Gameplay => new GameplayActions(this);
// Menus
private readonly InputActionMap m_Menus;
private IMenusActions m_MenusActionsCallbackInterface;
private readonly InputAction m_Menus_MoveSelection;
private readonly InputAction m_Menus_Confirm;
private readonly InputAction m_Menus_Cancel;
private readonly InputAction m_Menus_MouseMove;
private readonly InputAction m_Menus_Unpause;
private readonly InputAction m_Menus_ChangeTab;
private readonly InputAction m_Menus_InventoryActionButton;
public struct MenusActions
{
private @GameInput m_Wrapper;
public MenusActions(@GameInput wrapper) { m_Wrapper = wrapper; }
public InputAction @MoveSelection => m_Wrapper.m_Menus_MoveSelection;
public InputAction @Confirm => m_Wrapper.m_Menus_Confirm;
public InputAction @Cancel => m_Wrapper.m_Menus_Cancel;
public InputAction @MouseMove => m_Wrapper.m_Menus_MouseMove;
public InputAction @Unpause => m_Wrapper.m_Menus_Unpause;
public InputAction @ChangeTab => m_Wrapper.m_Menus_ChangeTab;
public InputAction @InventoryActionButton => m_Wrapper.m_Menus_InventoryActionButton;
public InputActionMap Get() { return m_Wrapper.m_Menus; }
public void Enable() { Get().Enable(); }
public void Disable() { Get().Disable(); }
public bool enabled => Get().enabled;
public static implicit operator InputActionMap(MenusActions set) { return set.Get(); }
public void SetCallbacks(IMenusActions instance)
{
if (m_Wrapper.m_MenusActionsCallbackInterface != null)
{
@MoveSelection.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnMoveSelection;
@MoveSelection.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnMoveSelection;
@MoveSelection.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnMoveSelection;
@Confirm.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnConfirm;
@Confirm.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnConfirm;
@Confirm.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnConfirm;
@Cancel.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnCancel;
@Cancel.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnCancel;
@Cancel.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnCancel;
@MouseMove.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnMouseMove;
@MouseMove.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnMouseMove;
@MouseMove.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnMouseMove;
@Unpause.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnUnpause;
@Unpause.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnUnpause;
@Unpause.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnUnpause;
@ChangeTab.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnChangeTab;
@ChangeTab.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnChangeTab;
@ChangeTab.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnChangeTab;
@InventoryActionButton.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnInventoryActionButton;
@InventoryActionButton.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnInventoryActionButton;
@InventoryActionButton.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnInventoryActionButton;
}
m_Wrapper.m_MenusActionsCallbackInterface = instance;
if (instance != null)
{
@MoveSelection.started += instance.OnMoveSelection;
@MoveSelection.performed += instance.OnMoveSelection;
@MoveSelection.canceled += instance.OnMoveSelection;
@Confirm.started += instance.OnConfirm;
@Confirm.performed += instance.OnConfirm;
@Confirm.canceled += instance.OnConfirm;
@Cancel.started += instance.OnCancel;
@Cancel.performed += instance.OnCancel;
@Cancel.canceled += instance.OnCancel;
@MouseMove.started += instance.OnMouseMove;
@MouseMove.performed += instance.OnMouseMove;
@MouseMove.canceled += instance.OnMouseMove;
@Unpause.started += instance.OnUnpause;
@Unpause.performed += instance.OnUnpause;
@Unpause.canceled += instance.OnUnpause;
@ChangeTab.started += instance.OnChangeTab;
@ChangeTab.performed += instance.OnChangeTab;
@ChangeTab.canceled += instance.OnChangeTab;
@InventoryActionButton.started += instance.OnInventoryActionButton;
@InventoryActionButton.performed += instance.OnInventoryActionButton;
@InventoryActionButton.canceled += instance.OnInventoryActionButton;
}
}
}
public MenusActions @Menus => new MenusActions(this);
// Menus
private readonly InputActionMap m_Menus;
private IMenusActions m_MenusActionsCallbackInterface;
private readonly InputAction m_Menus_MoveSelection;
private readonly InputAction m_Menus_Confirm;
private readonly InputAction m_Menus_Cancel;
private readonly InputAction m_Menus_MouseMove;
private readonly InputAction m_Menus_Unpause;
private readonly InputAction m_Menus_ClosePopupEvent;
private readonly InputAction m_Menus_ChangeTab;
private readonly InputAction m_Menus_InventoryActionButton;
public struct MenusActions
{
private @GameInput m_Wrapper;
public MenusActions(@GameInput wrapper) { m_Wrapper = wrapper; }
public InputAction @MoveSelection => m_Wrapper.m_Menus_MoveSelection;
public InputAction @Confirm => m_Wrapper.m_Menus_Confirm;
public InputAction @Cancel => m_Wrapper.m_Menus_Cancel;
public InputAction @MouseMove => m_Wrapper.m_Menus_MouseMove;
public InputAction @Unpause => m_Wrapper.m_Menus_Unpause;
public InputAction @ClosePopupEvent => m_Wrapper.m_Menus_ClosePopupEvent;
public InputAction @ChangeTab => m_Wrapper.m_Menus_ChangeTab;
public InputAction @InventoryActionButton => m_Wrapper.m_Menus_InventoryActionButton;
public InputActionMap Get() { return m_Wrapper.m_Menus; }
public void Enable() { Get().Enable(); }
public void Disable() { Get().Disable(); }
public bool enabled => Get().enabled;
public static implicit operator InputActionMap(MenusActions set) { return set.Get(); }
public void SetCallbacks(IMenusActions instance)
{
if (m_Wrapper.m_MenusActionsCallbackInterface != null)
{
@MoveSelection.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnMoveSelection;
@MoveSelection.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnMoveSelection;
@MoveSelection.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnMoveSelection;
@Confirm.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnConfirm;
@Confirm.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnConfirm;
@Confirm.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnConfirm;
@Cancel.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnCancel;
@Cancel.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnCancel;
@Cancel.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnCancel;
@MouseMove.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnMouseMove;
@MouseMove.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnMouseMove;
@MouseMove.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnMouseMove;
@Unpause.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnUnpause;
@Unpause.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnUnpause;
@Unpause.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnUnpause;
@ClosePopupEvent.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnClosePopupEvent;
@ClosePopupEvent.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnClosePopupEvent;
@ClosePopupEvent.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnClosePopupEvent;
@ChangeTab.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnChangeTab;
@ChangeTab.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnChangeTab;
@ChangeTab.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnChangeTab;
@InventoryActionButton.started -= m_Wrapper.m_MenusActionsCallbackInterface.OnInventoryActionButton;
@InventoryActionButton.performed -= m_Wrapper.m_MenusActionsCallbackInterface.OnInventoryActionButton;
@InventoryActionButton.canceled -= m_Wrapper.m_MenusActionsCallbackInterface.OnInventoryActionButton;
}
m_Wrapper.m_MenusActionsCallbackInterface = instance;
if (instance != null)
{
@MoveSelection.started += instance.OnMoveSelection;
@MoveSelection.performed += instance.OnMoveSelection;
@MoveSelection.canceled += instance.OnMoveSelection;
@Confirm.started += instance.OnConfirm;
@Confirm.performed += instance.OnConfirm;
@Confirm.canceled += instance.OnConfirm;
@Cancel.started += instance.OnCancel;
@Cancel.performed += instance.OnCancel;
@Cancel.canceled += instance.OnCancel;
@MouseMove.started += instance.OnMouseMove;
@MouseMove.performed += instance.OnMouseMove;
@MouseMove.canceled += instance.OnMouseMove;
@Unpause.started += instance.OnUnpause;
@Unpause.performed += instance.OnUnpause;
@Unpause.canceled += instance.OnUnpause;
@ClosePopupEvent.started += instance.OnClosePopupEvent;
@ClosePopupEvent.performed += instance.OnClosePopupEvent;
@ClosePopupEvent.canceled += instance.OnClosePopupEvent;
@ChangeTab.started += instance.OnChangeTab;
@ChangeTab.performed += instance.OnChangeTab;
@ChangeTab.canceled += instance.OnChangeTab;
@InventoryActionButton.started += instance.OnInventoryActionButton;
@InventoryActionButton.performed += instance.OnInventoryActionButton;
@InventoryActionButton.canceled += instance.OnInventoryActionButton;
}
}
}
public MenusActions @Menus => new MenusActions(this);
// Dialogues
private readonly InputActionMap m_Dialogues;
private IDialoguesActions m_DialoguesActionsCallbackInterface;
private readonly InputAction m_Dialogues_MoveSelection;
private readonly InputAction m_Dialogues_AdvanceDialogue;
public struct DialoguesActions
{
private @GameInput m_Wrapper;
public DialoguesActions(@GameInput wrapper) { m_Wrapper = wrapper; }
public InputAction @MoveSelection => m_Wrapper.m_Dialogues_MoveSelection;
public InputAction @AdvanceDialogue => m_Wrapper.m_Dialogues_AdvanceDialogue;
public InputActionMap Get() { return m_Wrapper.m_Dialogues; }
public void Enable() { Get().Enable(); }
public void Disable() { Get().Disable(); }
public bool enabled => Get().enabled;
public static implicit operator InputActionMap(DialoguesActions set) { return set.Get(); }
public void SetCallbacks(IDialoguesActions instance)
{
if (m_Wrapper.m_DialoguesActionsCallbackInterface != null)
{
@MoveSelection.started -= m_Wrapper.m_DialoguesActionsCallbackInterface.OnMoveSelection;
@MoveSelection.performed -= m_Wrapper.m_DialoguesActionsCallbackInterface.OnMoveSelection;
@MoveSelection.canceled -= m_Wrapper.m_DialoguesActionsCallbackInterface.OnMoveSelection;
@AdvanceDialogue.started -= m_Wrapper.m_DialoguesActionsCallbackInterface.OnAdvanceDialogue;
@AdvanceDialogue.performed -= m_Wrapper.m_DialoguesActionsCallbackInterface.OnAdvanceDialogue;
@AdvanceDialogue.canceled -= m_Wrapper.m_DialoguesActionsCallbackInterface.OnAdvanceDialogue;
}
m_Wrapper.m_DialoguesActionsCallbackInterface = instance;
if (instance != null)
{
@MoveSelection.started += instance.OnMoveSelection;
@MoveSelection.performed += instance.OnMoveSelection;
@MoveSelection.canceled += instance.OnMoveSelection;
@AdvanceDialogue.started += instance.OnAdvanceDialogue;
@AdvanceDialogue.performed += instance.OnAdvanceDialogue;
@AdvanceDialogue.canceled += instance.OnAdvanceDialogue;
}
}
}
public DialoguesActions @Dialogues => new DialoguesActions(this);
private int m_KeyboardOrGamepadSchemeIndex = -1;
public InputControlScheme KeyboardOrGamepadScheme
{
get
{
if (m_KeyboardOrGamepadSchemeIndex == -1) m_KeyboardOrGamepadSchemeIndex = asset.FindControlSchemeIndex("KeyboardOrGamepad");
return asset.controlSchemes[m_KeyboardOrGamepadSchemeIndex];
}
}
public interface IGameplayActions
{
void OnMove(InputAction.CallbackContext context);
void OnJump(InputAction.CallbackContext context);
void OnAttack(InputAction.CallbackContext context);
void OnInteract(InputAction.CallbackContext context);
void OnPause(InputAction.CallbackContext context);
void OnOpenInventory(InputAction.CallbackContext context);
void OnRotateCamera(InputAction.CallbackContext context);
void OnMouseControlCamera(InputAction.CallbackContext context);
void OnRun(InputAction.CallbackContext context);
}
public interface IMenusActions
{
void OnMoveSelection(InputAction.CallbackContext context);
void OnConfirm(InputAction.CallbackContext context);
void OnCancel(InputAction.CallbackContext context);
void OnMouseMove(InputAction.CallbackContext context);
void OnUnpause(InputAction.CallbackContext context);
void OnChangeTab(InputAction.CallbackContext context);
void OnInventoryActionButton(InputAction.CallbackContext context);
}
public interface IDialoguesActions
{
void OnMoveSelection(InputAction.CallbackContext context);
void OnAdvanceDialogue(InputAction.CallbackContext context);
}
// Dialogues
private readonly InputActionMap m_Dialogues;
private IDialoguesActions m_DialoguesActionsCallbackInterface;
private readonly InputAction m_Dialogues_MoveSelection;
private readonly InputAction m_Dialogues_AdvanceDialogue;
public struct DialoguesActions
{
private @GameInput m_Wrapper;
public DialoguesActions(@GameInput wrapper) { m_Wrapper = wrapper; }
public InputAction @MoveSelection => m_Wrapper.m_Dialogues_MoveSelection;
public InputAction @AdvanceDialogue => m_Wrapper.m_Dialogues_AdvanceDialogue;
public InputActionMap Get() { return m_Wrapper.m_Dialogues; }
public void Enable() { Get().Enable(); }
public void Disable() { Get().Disable(); }
public bool enabled => Get().enabled;
public static implicit operator InputActionMap(DialoguesActions set) { return set.Get(); }
public void SetCallbacks(IDialoguesActions instance)
{
if (m_Wrapper.m_DialoguesActionsCallbackInterface != null)
{
@MoveSelection.started -= m_Wrapper.m_DialoguesActionsCallbackInterface.OnMoveSelection;
@MoveSelection.performed -= m_Wrapper.m_DialoguesActionsCallbackInterface.OnMoveSelection;
@MoveSelection.canceled -= m_Wrapper.m_DialoguesActionsCallbackInterface.OnMoveSelection;
@AdvanceDialogue.started -= m_Wrapper.m_DialoguesActionsCallbackInterface.OnAdvanceDialogue;
@AdvanceDialogue.performed -= m_Wrapper.m_DialoguesActionsCallbackInterface.OnAdvanceDialogue;
@AdvanceDialogue.canceled -= m_Wrapper.m_DialoguesActionsCallbackInterface.OnAdvanceDialogue;
}
m_Wrapper.m_DialoguesActionsCallbackInterface = instance;
if (instance != null)
{
@MoveSelection.started += instance.OnMoveSelection;
@MoveSelection.performed += instance.OnMoveSelection;
@MoveSelection.canceled += instance.OnMoveSelection;
@AdvanceDialogue.started += instance.OnAdvanceDialogue;
@AdvanceDialogue.performed += instance.OnAdvanceDialogue;
@AdvanceDialogue.canceled += instance.OnAdvanceDialogue;
}
}
}
public DialoguesActions @Dialogues => new DialoguesActions(this);
private int m_KeyboardOrGamepadSchemeIndex = -1;
public InputControlScheme KeyboardOrGamepadScheme
{
get
{
if (m_KeyboardOrGamepadSchemeIndex == -1)
m_KeyboardOrGamepadSchemeIndex = asset.FindControlSchemeIndex("KeyboardOrGamepad");
return asset.controlSchemes[m_KeyboardOrGamepadSchemeIndex];
}
}
public interface IGameplayActions
{
void OnMove(InputAction.CallbackContext context);
void OnJump(InputAction.CallbackContext context);
void OnAttack(InputAction.CallbackContext context);
void OnInteract(InputAction.CallbackContext context);
void OnPause(InputAction.CallbackContext context);
void OnOpenInventory(InputAction.CallbackContext context);
void OnRotateCamera(InputAction.CallbackContext context);
void OnMouseControlCamera(InputAction.CallbackContext context);
void OnRun(InputAction.CallbackContext context);
}
public interface IMenusActions
{
void OnMoveSelection(InputAction.CallbackContext context);
void OnConfirm(InputAction.CallbackContext context);
void OnCancel(InputAction.CallbackContext context);
void OnMouseMove(InputAction.CallbackContext context);
void OnUnpause(InputAction.CallbackContext context);
void OnClosePopupEvent(InputAction.CallbackContext context);
void OnChangeTab(InputAction.CallbackContext context);
void OnInventoryActionButton(InputAction.CallbackContext context);
}
public interface IDialoguesActions
{
void OnMoveSelection(InputAction.CallbackContext context);
void OnAdvanceDialogue(InputAction.CallbackContext context);
}
}

11
UOP1_Project/Assets/Scripts/Input/InputReader.cs


public event UnityAction menuCancelEvent = delegate { };
public event UnityAction menuUnpauseEvent = delegate { };
public event UnityAction closePopupEvent = delegate { };
public event UnityAction<float> menuSwitchTab = delegate { };

{
if (context.phase == InputActionPhase.Performed)
interactEvent.Invoke();
}
public void OnClosePopupEvent(InputAction.CallbackContext context)
{
if (context.phase == InputActionPhase.Performed)
closePopupEvent.Invoke();
}
public void OnJump(InputAction.CallbackContext context)

public void OnChangeTab(InputAction.CallbackContext context)
{
if (context.phase == InputActionPhase.Performed)
menuSwitchTab.Invoke(context.ReadValue<float>());
menuSwitchTab.Invoke(context.ReadValue<float>());
}

10
UOP1_Project/Assets/Scripts/Inventory/CollectableItem.cs


using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
using DG.Tweening;
[SerializeField] private GameObject _itemGO = default;
[SerializeField] private GameObject _itemGO = default;
AnimateItem();
AnimateItem();
}
public Item GetItem()

public void AnimateItem()
{
if(_itemGO!=null)
if (_itemGO != null)
_itemGO.transform.DORotate(Vector3.one * 180, 5, RotateMode.Fast).SetLoops(-1,LoopType.Incremental);
_itemGO.transform.DORotate(Vector3.one * 180, 5, RotateMode.Fast).SetLoops(-1, LoopType.Incremental);
}
}

12
UOP1_Project/Assets/Scripts/Inventory/InventoryItemFiller.cs


[SerializeField] private Button _itemButton = default;
[SerializeField] private Image _bgInactiveImage = default;
ItemEventChannelSO _currentItemEvent;
ItemEventChannelSO _currentItemEvent;
[SerializeField] private LocalizeSpriteEvent _bgLocalizedImage = default;
[SerializeField] private LocalizeSpriteEvent _bgLocalizedImage = default;
public void SetItem(ItemStack itemStack, bool isSelected, ItemEventChannelSO selectItemEvent)
{

_imgSelected.gameObject.SetActive(true);
_itemButton.gameObject.SetActive(true);
_bgInactiveImage.gameObject.SetActive(false);
_currentItemEvent = selectItemEvent;
_currentItemEvent = selectItemEvent;
_currentItem = itemStack;
_imgSelected.gameObject.SetActive(isSelected);

_itemCount.text = itemStack.Amount.ToString();
_bgImage.color = itemStack.Item.ItemType.TypeColor;
}
public void SetInactiveItem()
{

public void SelectFirstElement()
{
_itemButton.Select();
SelectItem();
SelectItem();
}
public void HoverItem()

20
UOP1_Project/Assets/Scripts/Inventory/InventoryListFiller.cs


public class InventoryListFiller : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Start is called before the first frame update
void Start()
{
// Update is called once per frame
void Update()
{
}
}
// Update is called once per frame
void Update()
{
}
}

52
UOP1_Project/Assets/Scripts/Inventory/InventoryManager.cs


private void OnEnable()
{
//Check if the event exists to avoid errors
_cookRecipeEvent.OnEventRaised += CookRecipeEventRaised;
_useItemEvent.OnEventRaised += UseItemEventRaised;
_equipItemEvent.OnEventRaised += EquipItemEventRaised;
_addItemEvent.OnEventRaised += AddItem;
_removeItemEvent.OnEventRaised += RemoveItem;
_rewardItemEvent.OnEventRaised += AddItem;
_giveItemEvent.OnEventRaised += RemoveItem;
_cookRecipeEvent.OnEventRaised += CookRecipeEventRaised;
_useItemEvent.OnEventRaised += UseItemEventRaised;
_equipItemEvent.OnEventRaised += EquipItemEventRaised;
_addItemEvent.OnEventRaised += AddItem;
_removeItemEvent.OnEventRaised += RemoveItem;
_rewardItemEvent.OnEventRaised += AddItem;
_giveItemEvent.OnEventRaised += RemoveItem;
_cookRecipeEvent.OnEventRaised -= CookRecipeEventRaised;
_useItemEvent.OnEventRaised -= UseItemEventRaised;
_equipItemEvent.OnEventRaised -= EquipItemEventRaised;
_addItemEvent.OnEventRaised -= AddItem;
_removeItemEvent.OnEventRaised -= RemoveItem;
_cookRecipeEvent.OnEventRaised -= CookRecipeEventRaised;
_useItemEvent.OnEventRaised -= UseItemEventRaised;
_equipItemEvent.OnEventRaised -= EquipItemEventRaised;
_addItemEvent.OnEventRaised -= AddItem;
_removeItemEvent.OnEventRaised -= RemoveItem;
}

48
UOP1_Project/Assets/Scripts/Inventory/UIInventoryManager.cs


private VoidEventChannelSO _onInteractionEndedEvent = default;
[SerializeField]
private InputReader _inputReader = default;
private InputReader _inputReader = default;
_actionButtonClicked.OnEventRaised += ActionButtonEventRaised;
_changeTabEvent.OnEventRaised += ChangeTabEventRaised;
_selectItemEvent.OnEventRaised += InspectItem;
_onInteractionEndedEvent.OnEventRaised += InteractionEnded;
_actionButtonClicked.OnEventRaised += ActionButtonEventRaised;
_changeTabEvent.OnEventRaised += ChangeTabEventRaised;
_selectItemEvent.OnEventRaised += InspectItem;
_onInteractionEndedEvent.OnEventRaised += InteractionEnded;
_actionButtonClicked.OnEventRaised -= ActionButtonEventRaised;
_changeTabEvent.OnEventRaised -= ChangeTabEventRaised;
_selectItemEvent.OnEventRaised -= InspectItem;
_actionButtonClicked.OnEventRaised -= ActionButtonEventRaised;
_changeTabEvent.OnEventRaised -= ChangeTabEventRaised;
_selectItemEvent.OnEventRaised -= InspectItem;
if(orientation!=0)
if (orientation != 0)
{
bool isLeft = orientation < 0;
int initialIndex = _tabTypesList.FindIndex(o => o == _selectedTab);

initialIndex++;
}
initialIndex= Mathf.Clamp(initialIndex, 0, _tabTypesList.Count-1);
initialIndex = Mathf.Clamp(initialIndex, 0, _tabTypesList.Count - 1);
ChangeTabEventRaised(_tabTypesList[initialIndex]);
ChangeTabEventRaised(_tabTypesList[initialIndex]);
}

FillTypeTabs(_tabTypesList, _selectedTab);
List<ItemStack> listItemsToShow = new List<ItemStack>();
listItemsToShow = _currentInventory.Items.FindAll(o => o.Item.ItemType.TabType == _selectedTab);
FillItems(listItemsToShow);
}
else

{
_instanciatedItems[0].SelectFirstElement();
}
}
public void UpdateOnItemInInventory(ItemStack itemToUpdate, bool removeItem)
{

9
UOP1_Project/Assets/Scripts/Quests/QuestManagerSO.cs


public void StartGame()
{//Add code for saved information
_checkStepValidityEvent.OnEventRaised += CheckStepValidity;
_endDialogueEvent.OnEventRaised += EndDialogue;
_checkStepValidityEvent.OnEventRaised += CheckStepValidity;
_endDialogueEvent.OnEventRaised += EndDialogue;
StartQuestline();
}
void StartQuestline()

}
public DialogueDataSO InteractWithCharacter(ActorSO actor, bool isCheckValidity, bool isValid)
{ if (_currentQuest == null)
{
if (_currentQuest == null)
{
if (CheckQuestlineForQuestWithActor(actor))
{

11
UOP1_Project/Assets/Scripts/Quests/StepController.cs.meta


MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
defaultReferences:
- _actor: {instanceID: 0}
- _defaultDialogue: {instanceID: 0}
- _questData: {instanceID: 0}
- _interactionEvent: {instanceID: 0}
- _winDialogueEvent: {instanceID: 0}
- _loseDialogueEvent: {instanceID: 0}
- _startDialogueEvent: {instanceID: 0}
- _endDialogueEvent: {fileID: 11400000, guid: 53a7f1f01ef364704b1d45d01f2421ae,
type: 2}
executionOrder: 0
icon: {instanceID: 0}
userData:

2
UOP1_Project/Assets/Scripts/SaveSystem/SaveSystem.cs


saveData._itemStacks.Clear();
foreach (var itemStack in _playerInventory.Items)
{
// saveData._itemStacks.Add(new SerializedItemStack(itemStack.Item.Guid, itemStack.Amount));
// saveData._itemStacks.Add(new SerializedItemStack(itemStack.Item.Guid, itemStack.Amount));
}
if (FileManager.MoveFile(saveFilename, backupSaveFilename))

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


[SerializeField] private GameSceneSO _thisSceneSO = default;
[SerializeField] private GameSceneSO _persistentManagersSO = default;
[SerializeField] private AssetReference _notifyColdStartupChannel = default;
[SerializeField] private VoidEventChannelSO _onSceneReadyChannel = default;
private void Start()
{

private void OnNotifyChannelLoaded(AsyncOperationHandle<LoadEventChannelSO> obj)
{
LoadEventChannelSO loadEventChannelSO = (LoadEventChannelSO)_notifyColdStartupChannel.Asset;
loadEventChannelSO.RaiseEvent(_thisSceneSO);
if(_thisSceneSO != null)
{
obj.Result.RaiseEvent(_thisSceneSO);
}
else
{
//Raise a fake scene ready event, so the player is spawned
_onSceneReadyChannel.RaiseEvent();
//When this happens, the player won't be able to move between scenes because the SceneLoader has no conception of which scene we are in
}
}
#endif
}

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


externalObjects: {}
serializedVersion: 2
defaultReferences:
- _onSceneReady: {fileID: 11400000, guid: b729e40fc41dd8b4ea7aaf5c857f7186, type: 2}
- _loadSceneEventChannel: {fileID: 11400000, guid: 00e3063edc5902e40832ea618644c597,
- _onSceneReadyChannel: {fileID: 11400000, guid: b729e40fc41dd8b4ea7aaf5c857f7186,
type: 2}
executionOrder: 0
icon: {instanceID: 0}

4
UOP1_Project/Assets/Scripts/SceneManagement/SceneLoader.cs


/// </summary>
private void UnloadPreviousScene()
{
if(_currentlyLoadedScene != null) //would be null if the game was started in Initialisation
if (_currentlyLoadedScene != null) //would be null if the game was started in Initialisation
if(_currentlyLoadedScene.sceneReference.OperationHandle.IsValid())
if (_currentlyLoadedScene.sceneReference.OperationHandle.IsValid())
{
//Unload the scene through its AssetReference, i.e. through the Addressable system
_currentlyLoadedScene.sceneReference.UnLoadScene();

75
UOP1_Project/Assets/Scripts/SceneManagement/StartGame.cs


using UnityEngine;
using UnityEngine.AddressableAssets;
using UnityEngine.ResourceManagement.AsyncOperations;
using UnityEngine.UI;
/// <summary>
/// This class contains the function to call when play button is pressed

public LoadEventChannelSO onPlayButtonPress;
public GameSceneSO locationsToLoad;
public bool showLoadScreen;
public SaveSystem saveSystem;
public Text startText;
public Button resetSaveDataButton;
[SerializeField]
private GameSceneSO _locationsToLoad;
[SerializeField]
private bool _showLoadScreen = default;
[SerializeField]
private SaveSystem _saveSystem = default;
[Header("Broadcasting on ")]
[SerializeField]
private LoadEventChannelSO _startGameEvent = default;
[Header("Listening to")]
[SerializeField]
private VoidEventChannelSO _startNewGameEvent = default;
[SerializeField]
private VoidEventChannelSO _continueGameEvent = default;
_hasSaveData = saveSystem.LoadSaveDataFromDisk();
_hasSaveData = _saveSystem.LoadSaveDataFromDisk();
_startNewGameEvent.OnEventRaised += StartNewGame;
_continueGameEvent.OnEventRaised += ContinuePreviousGame;
}
void StartNewGame()
{
_hasSaveData = false;
_saveSystem.WriteEmptySaveFile();
//Start new game
_startGameEvent.RaiseEvent(_locationsToLoad, _showLoadScreen);
if (_hasSaveData)
{
startText.text = "Continue";
resetSaveDataButton.gameObject.SetActive(true);
}
else
{
resetSaveDataButton.gameObject.SetActive(false);
}
public void OnPlayButtonPress()
void ContinuePreviousGame()
if (!_hasSaveData)
{
saveSystem.WriteEmptySaveFile();
//Start new game
onPlayButtonPress.RaiseEvent(locationsToLoad, showLoadScreen);
}
else
{
//Load Game
StartCoroutine(LoadSaveGame());
}
StartCoroutine(LoadSaveGame());
public void OnResetSaveDataPress()
void OnResetSaveDataPress()
startText.text = "Play";
resetSaveDataButton.gameObject.SetActive(false);
public IEnumerator LoadSaveGame()
IEnumerator LoadSaveGame()
yield return StartCoroutine(saveSystem.LoadSavedInventory());
yield return StartCoroutine(_saveSystem.LoadSavedInventory());
var locationGuid = saveSystem.saveData._locationId;
var locationGuid = _saveSystem.saveData._locationId;
onPlayButtonPress.RaiseEvent(locationSO, showLoadScreen);
_startGameEvent.RaiseEvent(locationSO, _showLoadScreen);
}
}
}

12
UOP1_Project/Assets/Scripts/UI/InventoryButtonFiller.cs


[SerializeField]
VoidEventChannelSO _inventoryActionEvent = default;
bool hasEvent = false;
bool hasEvent = false;
public void FillInventoryButtons(ItemType itemType, bool isInteractable = true)

//bool isKeyboard = !(Input.GetJoystickNames() != null && Input.GetJoystickNames().Length > 0);
bool isKeyboard =true;
bool isKeyboard = true;
buttonPromptSetter.SetButtonPrompt(isKeyboard);
if (isInteractable)
{

else
{
if (_inputReader != null)
if (hasEvent )
_inputReader.inventoryActionButtonEvent -= ActionButtonEventRaised;
if (hasEvent)
_inputReader.inventoryActionButtonEvent -= ActionButtonEventRaised;
}

if(_inventoryActionEvent!=null)
if (_inventoryActionEvent != null)
_inventoryActionEvent.RaiseEvent();
_inventoryActionEvent.RaiseEvent();
}

7
UOP1_Project/Assets/Scripts/UI/InventoryTypeTabFiller.cs


[SerializeField] private Color _selectedIconColor = default;
[SerializeField] private Color _deselectedIconColor = default;
[SerializeField] private TabEventChannelSO _changeTabEvent = default;
public void fillTab(InventoryTabType tabType, bool isSelected)
{

_tabImage.color = _deselectedIconColor;
}
/* _actionButton.onClick.RemoveAllListeners();
_actionButton.onClick.AddListener(() => changeTabEvent.RaiseEvent(tabType));*/
_actionButton.onClick.RemoveAllListeners();
_actionButton.onClick.AddListener(() => _changeTabEvent.RaiseEvent(tabType));
}
}

4
UOP1_Project/Assets/Scripts/UI/UIButtonPromptSetter.cs


if (!isKeyboard)
{
_interactionKeyBG.sprite = _controllerSprite;
_interactionKeyText.text = _interactionJoystickKeyCode;
_interactionKeyText.text = _interactionJoystickKeyCode;
_interactionKeyText.text = _interactionKeyboardCode;
_interactionKeyText.text = _interactionKeyboardCode;
}

6
UOP1_Project/Assets/Scripts/UI/UIDialogueManager.cs


[SerializeField] private DialogueChoicesChannelSO _showChoicesEvent = default;
private void Start()
{
_showChoicesEvent.OnEventRaised += ShowChoices;
_showChoicesEvent.OnEventRaised += ShowChoices;
}
public void SetDialogue(LocalizedString dialogueLine, ActorSO actor)
{

26
UOP1_Project/Assets/Scripts/UI/UIHealthBarManager.cs


public class UIHealthBarManager : MonoBehaviour
{
Transform target;
int maxHealth=0;
int currentHealth=0;
int maxHealth = 0;
int currentHealth = 0;
[SerializeField] private Slider _healthBar = default;
[Header("Listening to")]

private void OnEnable()
{
if((GetComponent<Canvas>()!=null)&&(Camera.main!=null))
if ((GetComponent<Canvas>() != null) && (Camera.main != null))
target = Camera.main.transform;
target = Camera.main.transform;
_setHealthBar.OnEventRaised += SetHealthBar;
_inflictDamage.OnEventRaised += InflictDamage;
_restoreHealth.OnEventRaised += RestoreHealth;
_setHealthBar.OnEventRaised += SetHealthBar;
_inflictDamage.OnEventRaised += InflictDamage;
_restoreHealth.OnEventRaised += RestoreHealth;
}
private void OnDestroy()
{

{
maxHealth = _maxHealth;
currentHealth = _maxHealth;
setSlider();
setSlider();
}
public void InflictDamage(int _damage)

//find new slider value
float sliderValue = 0;
sliderValue = currentHealth / maxHealth;
_healthBar.value = sliderValue;
_healthBar.value = sliderValue;
}

10
UOP1_Project/Assets/Scripts/UI/UIInteractionItemFiller.cs


[SerializeField] LocalizeStringEvent _interactionName = default;
[SerializeField]
UIButtonPromptSetter buttonPromptSetter = default;
UIButtonPromptSetter buttonPromptSetter = default;
bool isKeyboard = true;
// bool isKeyboard = !(Input.GetJoystickNames() != null && Input.GetJoystickNames().Length > 0);
buttonPromptSetter.SetButtonPrompt(isKeyboard);
bool isKeyboard = true;
// bool isKeyboard = !(Input.GetJoystickNames() != null && Input.GetJoystickNames().Length > 0);
buttonPromptSetter.SetButtonPrompt(isKeyboard);
}

120
UOP1_Project/Assets/Scripts/UI/UIManager.cs


[SerializeField]
private UIInteractionManager _interactionPanel = default;
[Header("Pause Screen")]
[SerializeField] private UIPauseScreenSetter _pauseScreen = default;
[Header("Pause Screen")]
[SerializeField] private UISettingManager _settingScreen = default;
[Header("Gameplay Components")]
[SerializeField]
private GameStateSO _gameState = default;
[SerializeField] private InputReader _inputReader = default;
[Header("Listening on channels")]
[SerializeField] private VoidEventChannelSO _onSceneReady = default;

[SerializeField] private VoidEventChannelSO _closeUIDialogueEvent = default;
[SerializeField] private VoidEventChannelSO _closeUIInventoryEvent = default;
[SerializeField] private VoidEventChannelSO _openInventoryScreenEvent = default;
[SerializeField] private VoidEventChannelSO _closeInventoryScreenEvent = default;
[Header("Pause Events")]
[SerializeField] private VoidEventChannelSO _clickUnpauseEvent = default;
[SerializeField] private VoidEventChannelSO _clickBackToMenuEvent = default;
[Header("Setting Events")]
[SerializeField] private VoidEventChannelSO _openSettingEvent = default;
[SerializeField] private VoidEventChannelSO _closeSettingScreenEvent = default;
_openUIDialogueEvent.OnEventRaised += OpenUIDialogue;
_closeUIDialogueEvent.OnEventRaised += CloseUIDialogue;
_openInventoryScreenForCookingEvent.OnEventRaised += SetInventoryScreenForCooking;
_openInventoryScreenEvent.OnEventRaised += SetInventoryScreen;
_closeInventoryScreenEvent.OnEventRaised += CloseInventoryScreen;
_setInteractionEvent.OnEventRaised += SetInteractionPanel;
_onSceneReady.OnEventRaised += ResetUI;
_inputReader.openInventoryEvent += SetInventoryScreen;
_openUIDialogueEvent.OnEventRaised += OpenUIDialogue;
_closeUIDialogueEvent.OnEventRaised += CloseUIDialogue;
_openInventoryScreenForCookingEvent.OnEventRaised += SetInventoryScreenForCooking;
_setInteractionEvent.OnEventRaised += SetInteractionPanel;
_onSceneReady.OnEventRaised += ResetUI;
_inputReader.pauseEvent += OpenUIPause;
_inputReader.menuUnpauseEvent += CloseUIPause;
_clickUnpauseEvent.OnEventRaised += CloseUIPause;
_openSettingEvent.OnEventRaised += OpenSettingScreen;
_clickBackToMenuEvent.OnEventRaised += BackToMenu;
_closeSettingScreenEvent.OnEventRaised += CloseSettingScreen;
}
private void OnDestroy()
{

_closeUIDialogueEvent.OnEventRaised -= CloseUIDialogue;
_openInventoryScreenForCookingEvent.OnEventRaised -= SetInventoryScreenForCooking;
_closeUIInventoryEvent.OnEventRaised -= CloseInventoryScreen;
_openInventoryScreenEvent.OnEventRaised -= SetInventoryScreen;
_openInventoryScreenForCookingEvent.OnEventRaised -= SetInventoryScreenForCooking;
_closeInventoryScreenEvent.OnEventRaised -= CloseInventoryScreen;
_inputReader.openInventoryEvent -= SetInventoryScreen;
_inputReader.pauseEvent -= OpenUIPause;
_inputReader.menuUnpauseEvent -= CloseUIPause;
_closeUIDialogueEvent.OnEventRaised -= CloseUIDialogue;
_clickUnpauseEvent.OnEventRaised -= CloseUIPause;
_openSettingEvent.OnEventRaised -= OpenSettingScreen;
_clickBackToMenuEvent.OnEventRaised -= BackToMenu;
_closeSettingScreenEvent.OnEventRaised -= CloseSettingScreen;
private void Start()
void BackToMenu()
Debug.Log("Back to Menu ");
}
void OpenUIPause()
{
Time.timeScale = 0;
_inputReader.pauseEvent -= OpenUIPause;
_inputReader.pauseEvent += CloseUIPause;
_inputReader.EnableMenuInput();
_pauseScreen.gameObject.SetActive(true);
_pauseScreen.SetPauseScreen();
void CloseUIPause()
{
Time.timeScale = 1;
_inputReader.pauseEvent += OpenUIPause;
_inputReader.pauseEvent -= CloseUIPause;
_pauseScreen.gameObject.SetActive(false);
_inputReader.EnableGameplayInput();
}
void OpenSettingScreen()
{
CloseUIPause();
_inputReader.EnableMenuInput();
_inputReader.pauseEvent += CloseSettingScreen;
_settingScreen.gameObject.SetActive(true);
}
void CloseSettingScreen()
{
_inputReader.EnableGameplayInput();
_inputReader.pauseEvent -= CloseSettingScreen;
_settingScreen.gameObject.SetActive(false);
}
void ResetUI()
{
CloseUIDialogue();

public void OpenUIDialogue(LocalizedString dialogueLine, ActorSO actor)
{
_dialogueController.gameObject.SetActive(false);
}

_inputReader.EnableMenuInput();
_inputReader.closeInventoryEvent += CloseInventoryScreen;
_gameState.UpdateGameState(GameState.Inventory);
if (isForCooking)
{
_inventoryPanel.FillInventory(TabType.recipe, true);

}
public void CloseInventoryScreen()
void CloseInventoryScreen()
{
_inventoryPanel.gameObject.SetActive(false);

}
_gameState.ResetToPreviousGameState();
_inputReader.closeInventoryEvent -= CloseInventoryScreen;
}

_interactionPanel.gameObject.SetActive(isOpenEvent);
}
}

32
UOP1_Project/Assets/Settings/Input/GameInput.inputactions


"interactions": ""
},
{
"name": "ClosePopupEvent",
"type": "Button",
"id": "efe86ed9-53ac-4a9f-8894-0936a1bc3319",
"expectedControlType": "Button",
"processors": "",
"interactions": ""
},
{
"name": "ChangeTab",
"type": "Button",
"id": "abff37db-1fb3-4f26-bceb-8ecdfc99fdef",

{
"name": "",
"id": "4306a7b2-67e8-4e85-9264-99218bea9eb4",
"path": "<Keyboard>/a",
"path": "<Keyboard>/q",
"interactions": "",
"processors": "",
"groups": "KeyboardOrGamepad",

"processors": "",
"groups": "KeyboardOrGamepad",
"action": "InventoryActionButton",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "8de239c2-a886-4c69-8890-06ba68d86a9a",
"path": "<Gamepad>/buttonEast",
"interactions": "",
"processors": "",
"groups": "KeyboardOrGamepad",
"action": "ClosePopupEvent",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "fb9d51ec-83a8-43f2-ae0c-2872920cbbc9",
"path": "<Keyboard>/escape",
"interactions": "",
"processors": "",
"groups": "KeyboardOrGamepad",
"action": "ClosePopupEvent",
"isComposite": false,
"isPartOfComposite": false
}

2
UOP1_Project/Assets/Tutorials/TutorialWelcomePage.asset


m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b0885f594ab85594caa28e1a96cbe0d8, type: 3}
m_Name: Tutorial Welcome Page
m_Name: TutorialWelcomePage
m_EditorClassIdentifier:
m_Image: {fileID: 2800000, guid: 03c03036dc65f5f4fa9278cb50337732, type: 3}
m_WindowTitle:

2
UOP1_Project/Assets/Tutorials/TutorialProjectSettings.asset


m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 579f019eb5d26450982c6ae506c6c3ff, type: 3}
m_Name: Tutorial Project Settings
m_Name: TutorialProjectSettings
m_EditorClassIdentifier:
m_WelcomePage: {fileID: 11400000, guid: 987b7f71914518548bf480eeca117656, type: 2}
m_InitialScene: {fileID: 102900000, guid: 1e57caa7d7ed5e24a88cb3b5c309cc65, type: 3}

2
UOP1_Project/Assets/WIP/Materials/Probuilder_Toon.mat


- _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: 0}
- _MainColor: {r: 0.7075472, g: 0.7075472, b: 0.7075472, a: 0}
- _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}

20
UOP1_Project/Assets/WIP/Materials/Prototype_Sand.mat


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_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}
- Vector1_8606F96E: 0
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1

- _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: 0.8679245, g: 0.8250768, b: 0.55268776, a: 1}
- _MainColor: {r: 0.8679245, g: 0.8250768, b: 0.55268764, a: 1}
m_BuildTextureStacks: []

20
UOP1_Project/Assets/WIP/Materials/Prototyping_Grey.mat


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_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}
- Vector1_8606F96E: 0
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1

- _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: 0.6226415, g: 0.6226415, b: 0.6226415, a: 1}
- _MainColor: {r: 0.5188679, g: 0.5188679, b: 0.5188679, a: 1}
m_BuildTextureStacks: []

2
UOP1_Project/Assets/WIP/Materials/Prototype_Ground.mat


m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Prototype_Grey
m_Name: Prototype_Ground
m_Shader: {fileID: -6465566751694194690, guid: bf36778a400a0894b86a1f49c422fa62,
type: 3}
m_ShaderKeywords:

18
UOP1_Project/UserSettings/EditorUserSettings.asset


serializedVersion: 4
m_ConfigSettings:
RecentlyUsedScenePath-0:
value: 22424703114646680e0b0227036c683926582b3f223b23240a3b1226ece47a2decee22f0
value: 22424703114646680e0b0227036c731f15160c232326357f0a251c37e7ae2136ebf32f
value: 22424703114646680e0b0227036c731f15160c232326357f0b260f36f1f47a2decee22f0
value: 22424703114646680e0b0227036c731f15160c232326357f0f2c1c30eaae2136ebf32f
value: 22424703114646680e0b0227036c731f15160c232326357f0a251c37e7ae2136ebf32f
value: 22424703114646680e0b0227036c761e1f03112b20213c313920123dacf53a31f6fe
value: 22424703114646680e0b0227036c731f15160c232326357f0f2c1c30eaae2136ebf32f
value: 22424703114646680e0b0227036c683926583938381b2e3f3a2a1c20e7ae2136ebf32f
value: 22424703114646680e0b0227036c761e1f03112b20213c313920123dacf53a31f6fe
value: 22424703114646680e0b0227036c683926582c2f3f3c2f3e2a0e0f3cf7ee3007d1ea37e5eb742a323016f6
value: 22424703114646680e0b0227036c683926583938381b2e3f3a2a1c20e7ae2136ebf32f
value: 22424703114646680c031c2e1530103c19141926253227242426137cb2ae6569acb67bf9f53f29353c15a0100530062af30d0c4bc50e060e121af4011fbf3d161fd0588d2fef2a35825630cfc31ac4e2d2d394d9dde7e2dbcad6affcb4c5c9cddcbfb0f5a3bce5
value: 22424703114646680e0b0227036c683926582c2f3f3c2f3e2a0e0f3cf7ee3007d1ea37e5eb742a323016f6
value: 22424703114646680e0b0227036c6a39563e163e292f34313920123dacf53a31f6fe
value: 22424703114646680e0b0227036c721118161f2f3e3b69172c241823eee12d76f7e93ffdfe
value: 22424703114646680e0b0227036c721518020b6501292f3e002c1326acf53a31f6fe
value: 22424703114646680e0b0227036c721518020b6501292f3e002c1326acf53a31f6fe
value: 22424703114646680e0b0227036c721118161f2f3e3b69172c241823eee12d76f7e93ffdfe
flags: 0
RecentlyUsedScenePath-9:
value: 22424703114646680e0b0227036c683926582c2f3f3c2f3e2a0e0f3cf7ee3076f7e93ffdfe

2
UOP1_Project/Assets/Art/UI/FinalUI/BG_Unselected.png.meta


fileFormatVersion: 2
guid: 4049ea105a56e40769d65500c09acaf7
guid: e02a109c7d3ef456082a6a9968b98f8e
TextureImporter:
internalIDToNameTable: []
externalObjects: {}

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


private void OnEnable()
{
_OnSceneReady.OnEventRaised += SpawnPlayer;
_OnSceneReady.OnEventRaised += SpawnPlayer;
_OnSceneReady.OnEventRaised -= SpawnPlayer;
_OnSceneReady.OnEventRaised -= SpawnPlayer;
}
private void SpawnPlayer()

19
UOP1_Project/Assets/Scenes/Whiteboxing/Community/GeneralMapMediumMultipleScenes/Farms.unity


--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 11
serializedVersion: 12
m_GIWorkflowMode: 1
m_GISettings:
serializedVersion: 2

m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 112000002, guid: bebda1d08bb502b4fa34dfa561c97e1b,
type: 2}
m_UseShadowmask: 0
m_LightingSettings: {fileID: 4890085278179872738, guid: e8caaf6bfb01b9c4d917d844d4bd6f9c,
type: 2}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2

manualTileSize: 0
tileSize: 256
accuratePlacement: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}

m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:

m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &616203066
MeshFilter:
m_ObjectHideFlags: 0

propertyPath: m_Name
value: streamFarms
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 7ae178c9ad4dddf4fa0af5c4d5367dde,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 7ae178c9ad4dddf4fa0af5c4d5367dde, type: 3}
--- !u!4 &930223120 stripped

type: 3}
propertyPath: m_Name
value: FarmsUnloadCollider
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: d74bf1ca18d9bdc4cafba07e1c2245c4,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: d74bf1ca18d9bdc4cafba07e1c2245c4, type: 3}

16
UOP1_Project/Assets/Scenes/Whiteboxing/Community/GeneralMapMediumMultipleScenes/Glade.unity


--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 11
serializedVersion: 12
m_GIWorkflowMode: 1
m_GISettings:
serializedVersion: 2

m_ExportTrainingData: 0
m_TrainingDataDestination: TrainingData
m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 112000000, guid: 521c3acdf2f0c2a4290a6fdfade2b4f1,
m_LightingDataAsset: {fileID: 0}
m_LightingSettings: {fileID: 4890085278179872738, guid: 40bd2d6193c76b9438baf6244d9f9a5a,
m_UseShadowmask: 0
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2

manualTileSize: 0
tileSize: 256
accuratePlacement: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}

- target: {fileID: -8679921383154817045, guid: 3c4377169034d054ca8bf9db2f48d760,
type: 3}
propertyPath: m_RootOrder
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 3c4377169034d054ca8bf9db2f48d760,
type: 3}

m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!23 &781319591
MeshRenderer:
m_ObjectHideFlags: 0

m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:

m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &781319592
MeshFilter:
m_ObjectHideFlags: 0

- target: {fileID: -8679921383154817045, guid: 43ba21200b03f474380c566fe4d6e3ec,
type: 3}
propertyPath: m_RootOrder
value: 0
value: 1
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: 43ba21200b03f474380c566fe4d6e3ec,
type: 3}

21
UOP1_Project/Assets/Scenes/Whiteboxing/Community/GeneralMapMediumMultipleScenes/RockyPath.unity


--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 11
serializedVersion: 12
m_GIWorkflowMode: 1
m_GISettings:
serializedVersion: 2

m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 112000004, guid: 0af4b7ad6b4b52e478f9f0743bc434a4,
type: 2}
m_UseShadowmask: 0
m_LightingSettings: {fileID: 4890085278179872738, guid: c306d504973ec904f9a3be836fbe8209,
type: 2}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2

manualTileSize: 0
tileSize: 256
accuratePlacement: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}

objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 4cd42f67401289c4aba3eba5347e97ae,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 4cd42f67401289c4aba3eba5347e97ae,
type: 3}
propertyPath: m_StaticEditorFlags
value: 4294967295
objectReference: {fileID: 0}

m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!23 &965402484
MeshRenderer:
m_ObjectHideFlags: 0

m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:

m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &965402485
MeshFilter:
m_ObjectHideFlags: 0

type: 3}
propertyPath: m_Name
value: RockyPathUnloadCollider
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: e3faa2a0fd127ab4aa1d905440bb07b6,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: e3faa2a0fd127ab4aa1d905440bb07b6, type: 3}

16
UOP1_Project/Assets/Scenes/Whiteboxing/Community/GeneralMapMediumMultipleScenes/Town.unity


--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 11
serializedVersion: 12
m_GIWorkflowMode: 1
m_GISettings:
serializedVersion: 2

m_LightProbeSampleCountMultiplier: 4
m_LightingDataAsset: {fileID: 112000002, guid: 525ae57b0e6f0f94e947b59bd1efc9c3,
type: 2}
m_UseShadowmask: 0
m_LightingSettings: {fileID: 4890085278179872738, guid: ebca073eb34cc9341b0ab5de7609a0fe,
type: 2}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2

manualTileSize: 0
tileSize: 256
accuratePlacement: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}

propertyPath: m_Name
value: TownUnloadCollider
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: fc24bcac06e60574d9e136df206ae5f2,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: fc24bcac06e60574d9e136df206ae5f2, type: 3}
--- !u!1 &1212951390 stripped

- target: {fileID: 919132149155446097, guid: ec0b76841445e834f9a092546ff8321e,
type: 3}
propertyPath: m_IsActive
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: ec0b76841445e834f9a092546ff8321e,
type: 3}

m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:

m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &1387383276
MeshFilter:
m_ObjectHideFlags: 0

1
UOP1_Project/Assets/.DS_Store
文件差异内容过多而无法显示
查看文件

2
UOP1_Project/Assets/Art/UI/FinalUI/.DS_Store
文件差异内容过多而无法显示
查看文件

8
UOP1_Project/Assets/Art/UI/FinalUI/BG_Unselected.png

之前 之后
宽度: 1182  |  高度: 73  |  大小: 2.1 KiB

1
UOP1_Project/Assets/LocalizationFiles/.DS_Store
文件差异内容过多而无法显示
查看文件

8
UOP1_Project/Assets/LocalizationFiles/AssetTables/UI.meta


fileFormatVersion: 2
guid: 97411d899dacb4865a240b35a38263a0
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
UOP1_Project/Assets/Prefabs/Prototyping.meta


fileFormatVersion: 2
guid: bac15cc73b1573141be57519cfdc41e6
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

1001
UOP1_Project/Assets/Prefabs/UI/Canvas-MainMenu.prefab
文件差异内容过多而无法显示
查看文件

7
UOP1_Project/Assets/Prefabs/UI/Canvas-MainMenu.prefab.meta


fileFormatVersion: 2
guid: 88498729c08b74b588c91db70fc55665
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

1001
UOP1_Project/Assets/Prefabs/UI/Pause_Screen.prefab
文件差异内容过多而无法显示
查看文件

7
UOP1_Project/Assets/Prefabs/UI/Pause_Screen.prefab.meta


fileFormatVersion: 2
guid: cb311613a647f46b6a6c9dc887acd1a9
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
UOP1_Project/Assets/Prefabs/UI/Popup.meta


fileFormatVersion: 2
guid: 90ae33201f4914d45bfff4b1436a309b
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

367
UOP1_Project/Assets/Prefabs/UI/UnpauseButton.prefab


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &4107745345308144955
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4107745345308144954}
- component: {fileID: 4107745345308144948}
- component: {fileID: 6966040858402298430}
m_Layer: 5
m_Name: UnpauseButton
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &4107745345308144954
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4107745345308144955}
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: 4513302106742259856}
- {fileID: 4107745346167891709}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 300, y: 80}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4107745345308144948
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4107745345308144955}
m_CullTransparentMesh: 0
--- !u!114 &6966040858402298430
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4107745345308144955}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4100492e3231549df8aa06bff38e1ce9, type: 3}
m_Name:
m_EditorClassIdentifier:
_buttonText: {fileID: 4107745346167891708}
_button: {fileID: 4513302106742259857}
--- !u!1 &4107745346167891682
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4107745346167891709}
- component: {fileID: 4107745346167891710}
- component: {fileID: 4107745346167891711}
- component: {fileID: 4107745346167891708}
m_Layer: 5
m_Name: ButtonText
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &4107745346167891709
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4107745346167891682}
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: 4107745345308144954}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 2.3599854, y: -0.009994507}
m_SizeDelta: {x: -55.076233, y: -38.966194}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4107745346167891710
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4107745346167891682}
m_CullTransparentMesh: 0
--- !u!114 &4107745346167891711
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4107745346167891682}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text:
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: fe129390af88b40faa85c89db6820ea6, type: 2}
m_sharedMaterial: {fileID: -5592514773993622969, guid: fe129390af88b40faa85c89db6820ea6,
type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294967295
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 1
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 36
m_fontSizeBase: 36
m_fontWeight: 400
m_enableAutoSizing: 1
m_fontSizeMin: 18
m_fontSizeMax: 40
m_fontStyle: 0
m_HorizontalAlignment: 2
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 1
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!114 &4107745346167891708
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4107745346167891682}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 56eb0353ae6e5124bb35b17aff880f16, type: 3}
m_Name:
m_EditorClassIdentifier:
m_StringReference:
m_TableReference:
m_TableCollectionName: GUID:457af5455987a4876acc4332c3a761e5
m_TableEntryReference:
m_KeyId: 0
m_Key:
m_FallbackState: 0
m_FormatArguments: []
m_UpdateString:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 4107745346167891711}
m_TargetAssemblyTypeName:
m_MethodName: set_text
m_Mode: 0
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName:
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!1 &4513302106742259863
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 4513302106742259856}
- component: {fileID: 4513302106742259859}
- component: {fileID: 1104558195131469025}
- component: {fileID: 4513302106742259857}
m_Layer: 5
m_Name: ButtonToClick
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &4513302106742259856
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4513302106742259863}
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: 4107745345308144954}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0.0008544922, y: -0.00035095215}
m_SizeDelta: {x: -0.0016174316, y: 0.00035858154}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4513302106742259859
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4513302106742259863}
m_CullTransparentMesh: 0
--- !u!114 &1104558195131469025
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4513302106742259863}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 1335ff5b1b3db4dab97367ef2fe187a7, type: 3}
m_Type: 1
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!114 &4513302106742259857
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 4513302106742259863}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 4
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 2
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 21300000, guid: cc08ac3a6d81f4dcca62fa2c47106cdf,
type: 3}
m_PressedSprite: {fileID: 21300000, guid: 13a92ae90ccfc4d149b1e8e75b939eea, type: 3}
m_SelectedSprite: {fileID: 21300000, guid: cef813fa90c604e8b9174b485411e5b1, type: 3}
m_DisabledSprite: {fileID: 21300000, guid: de74024259ffb4053bd23f3f7d26e397, type: 3}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 1104558195131469025}
m_OnClick:
m_PersistentCalls:
m_Calls:
- m_Target: {fileID: 0}
m_TargetAssemblyTypeName: UIPopupButtonSetter, Assembly-CSharp
m_MethodName: ButtonClicked
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2

7
UOP1_Project/Assets/Prefabs/UI/UnpauseButton.prefab.meta


fileFormatVersion: 2
guid: 321620e2cc6514a338068369082a39ec
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
UOP1_Project/Assets/Prefabs/UI/WIP.meta


fileFormatVersion: 2
guid: cf91c2b013dbe41ccbde896bb814e2ab
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
UOP1_Project/Assets/Samples/Localization/0.11.1-preview.meta


fileFormatVersion: 2
guid: 7b1184952114f4564a07a7705d7875fe
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

451
UOP1_Project/Assets/Scenes/WIP/UI Integration.unity


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!29 &1
OcclusionCullingSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_OcclusionBakeSettings:
smallestOccluder: 5
smallestHole: 0.25
backfaceThreshold: 100
m_SceneGUID: 00000000000000000000000000000000
m_OcclusionCullingData: {fileID: 0}
--- !u!104 &2
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 9
m_Fog: 0
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
m_FogDensity: 0.01
m_LinearFogStart: 0
m_LinearFogEnd: 300
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
m_AmbientIntensity: 1
m_AmbientMode: 0
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
m_HaloStrength: 0.5
m_FlareStrength: 1
m_FlareFadeSpeed: 3
m_HaloTexture: {fileID: 0}
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
m_DefaultReflectionMode: 0
m_DefaultReflectionResolution: 128
m_ReflectionBounces: 1
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.12731713, g: 0.13414736, b: 0.121078536, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
serializedVersion: 12
m_GIWorkflowMode: 1
m_GISettings:
serializedVersion: 2
m_BounceScale: 1
m_IndirectOutputScale: 1
m_AlbedoBoost: 1
m_EnvironmentLightingMode: 0
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
serializedVersion: 12
m_Resolution: 2
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: 1
m_PVRSampling: 1
m_PVRDirectSampleCount: 32
m_PVRSampleCount: 512
m_PVRBounces: 2
m_PVREnvironmentSampleCount: 256
m_PVREnvironmentReferencePointCount: 2048
m_PVRFilteringMode: 1
m_PVRDenoiserTypeDirect: 1
m_PVRDenoiserTypeIndirect: 1
m_PVRDenoiserTypeAO: 1
m_PVRFilterTypeDirect: 0
m_PVRFilterTypeIndirect: 0
m_PVRFilterTypeAO: 0
m_PVREnvironmentMIS: 1
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: 0}
m_LightingSettings: {fileID: 0}
--- !u!196 &4
NavMeshSettings:
serializedVersion: 2
m_ObjectHideFlags: 0
m_BuildSettings:
serializedVersion: 2
agentTypeID: 0
agentRadius: 0.5
agentHeight: 2
agentSlope: 45
agentClimb: 0.4
ledgeDropHeight: 0
maxJumpAcrossDistance: 0
minRegionArea: 2
manualCellSize: 0
cellSize: 0.16666667
manualTileSize: 0
tileSize: 256
accuratePlacement: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug:
m_Flags: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &1494236523 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 6501532797801611968, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
m_PrefabInstance: {fileID: 31749702337645003}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1854747357
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1854747361}
- component: {fileID: 1854747360}
- component: {fileID: 1854747359}
- component: {fileID: 1854747358}
m_Layer: 0
m_Name: Camera
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1854747358
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1854747357}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3}
m_Name:
m_EditorClassIdentifier:
m_RenderShadows: 1
m_RequiresDepthTextureOption: 2
m_RequiresOpaqueTextureOption: 2
m_CameraType: 0
m_Cameras: []
m_RendererIndex: -1
m_VolumeLayerMask:
serializedVersion: 2
m_Bits: 1
m_VolumeTrigger: {fileID: 0}
m_RenderPostProcessing: 0
m_Antialiasing: 0
m_AntialiasingQuality: 2
m_StopNaN: 0
m_Dithering: 0
m_ClearDepth: 1
m_AllowXRRendering: 1
m_RequiresDepthTexture: 0
m_RequiresColorTexture: 0
m_Version: 2
--- !u!81 &1854747359
AudioListener:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1854747357}
m_Enabled: 1
--- !u!20 &1854747360
Camera:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1854747357}
m_Enabled: 1
serializedVersion: 2
m_ClearFlags: 1
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
m_projectionMatrixMode: 1
m_GateFitMode: 2
m_FOVAxisMode: 0
m_SensorSize: {x: 36, y: 24}
m_LensShift: {x: 0, y: 0}
m_FocalLength: 50
m_NormalizedViewPortRect:
serializedVersion: 2
x: 0
y: 0
width: 1
height: 1
near clip plane: 0.3
far clip plane: 1000
field of view: 60
orthographic: 0
orthographic size: 5
m_Depth: 0
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingPath: -1
m_TargetTexture: {fileID: 0}
m_TargetDisplay: 0
m_TargetEye: 3
m_HDR: 1
m_AllowMSAA: 1
m_AllowDynamicResolution: 0
m_ForceIntoRT: 0
m_OcclusionCulling: 1
m_StereoConvergence: 10
m_StereoSeparation: 0.022
--- !u!4 &1854747361
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1854747357}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 896.45044, y: 105.19966, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &2053079610
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2053079613}
- component: {fileID: 2053079612}
- component: {fileID: 2053079611}
m_Layer: 0
m_Name: EventSystem
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &2053079611
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2053079610}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 01614664b831546d2ae94a42149d80ac, type: 3}
m_Name:
m_EditorClassIdentifier:
m_MoveRepeatDelay: 0.5
m_MoveRepeatRate: 0.1
m_ActionsAsset: {fileID: -944628639613478452, guid: ca9f5fa95ffab41fb9a615ab714db018,
type: 3}
m_PointAction: {fileID: 1054132383583890850, guid: ca9f5fa95ffab41fb9a615ab714db018,
type: 3}
m_MoveAction: {fileID: 3710738434707379630, guid: ca9f5fa95ffab41fb9a615ab714db018,
type: 3}
m_SubmitAction: {fileID: 2064916234097673511, guid: ca9f5fa95ffab41fb9a615ab714db018,
type: 3}
m_CancelAction: {fileID: -1967631576421560919, guid: ca9f5fa95ffab41fb9a615ab714db018,
type: 3}
m_LeftClickAction: {fileID: 8056856818456041789, guid: ca9f5fa95ffab41fb9a615ab714db018,
type: 3}
m_MiddleClickAction: {fileID: 3279352641294131588, guid: ca9f5fa95ffab41fb9a615ab714db018,
type: 3}
m_RightClickAction: {fileID: 3837173908680883260, guid: ca9f5fa95ffab41fb9a615ab714db018,
type: 3}
m_ScrollWheelAction: {fileID: 4502412055082496612, guid: ca9f5fa95ffab41fb9a615ab714db018,
type: 3}
m_TrackedDevicePositionAction: {fileID: 4754684134866288074, guid: ca9f5fa95ffab41fb9a615ab714db018,
type: 3}
m_TrackedDeviceOrientationAction: {fileID: 1025543830046995696, guid: ca9f5fa95ffab41fb9a615ab714db018,
type: 3}
m_DeselectOnBackgroundClick: 1
m_PointerBehavior: 0
--- !u!114 &2053079612
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2053079610}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3}
m_Name:
m_EditorClassIdentifier:
m_FirstSelected: {fileID: 1494236523}
m_sendNavigationEvents: 1
m_DragThreshold: 10
--- !u!4 &2053079613
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2053079610}
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: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &31749702337645003
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 31749702957475737, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_Name
value: Canvas-MainMenu
objectReference: {fileID: 0}
- target: {fileID: 31749702957475741, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_Pivot.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 31749702957475741, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_Pivot.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 31749702957475741, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 31749702957475741, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 31749702957475741, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 31749702957475741, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 31749702957475741, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 31749702957475741, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 31749702957475741, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 31749702957475741, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 31749702957475741, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 31749702957475741, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 31749702957475741, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 31749702957475741, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 31749702957475741, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 31749702957475741, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 31749702957475741, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 31749702957475741, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 31749702957475741, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 31749702957475741, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 31749702957475741, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 88498729c08b74b588c91db70fc55665, type: 3}

8
UOP1_Project/Assets/Scenes/Whiteboxing/Community.meta


fileFormatVersion: 2
guid: 02fefe4cca895d34faa5af6634a99b99
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

8
UOP1_Project/Assets/Scenes/Whiteboxing/WhiteboxingMaster_v1.meta


fileFormatVersion: 2
guid: 92c3aa2419e26f74eb633f843db84d3f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

7
UOP1_Project/Assets/Scenes/Whiteboxing/WhiteboxingMaster_v1.unity.meta


fileFormatVersion: 2
guid: 6266a47cd08e5a046ae27821f5ee4648
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

1
UOP1_Project/Assets/ScriptableObjects/Events/.DS_Store
文件差异内容过多而无法显示
查看文件

8
UOP1_Project/Assets/ScriptableObjects/Events/MainMenu.meta


fileFormatVersion: 2
guid: a33af1edde83c4c11913ae6066d774e1
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

15
UOP1_Project/Assets/ScriptableObjects/Events/UI/BackToMenuEvent.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: 7fafac715ff920c4383fed91a38a351e, type: 3}
m_Name: BackToMenuEvent
m_EditorClassIdentifier:
description:

8
UOP1_Project/Assets/ScriptableObjects/Events/UI/BackToMenuEvent.asset.meta


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

15
UOP1_Project/Assets/ScriptableObjects/Events/UI/ButtonPopupEvent.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: 696142ab7e0adf0478f66a5c9e06a168, type: 3}
m_Name: ButtonPopupEvent
m_EditorClassIdentifier:
description:

部分文件因为文件数量过多而无法显示

正在加载...
取消
保存