浏览代码

Add close button to Settings and Credits screens

/main
uChema 4 年前
当前提交
30ea906a
共有 14 个文件被更改,包括 897 次插入16 次删除
  1. 468
      UOP1_Project/Assets/Scenes/Menus/MainMenu.unity
  2. 19
      UOP1_Project/Assets/UIMenuManager.cs
  3. 4
      UOP1_Project/UserSettings/EditorUserSettings.asset
  4. 368
      UOP1_Project/Assets/Prefabs/UI/WIP/Settings/Settings_Panel.prefab
  5. 8
      UOP1_Project/Assets/Prefabs/UI/WIP.meta
  6. 15
      UOP1_Project/Assets/ScriptableObjects/Events/UI/CloseCreditsEvent.asset
  7. 8
      UOP1_Project/Assets/ScriptableObjects/Events/UI/CloseCreditsEvent.asset.meta
  8. 15
      UOP1_Project/Assets/ScriptableObjects/Events/UI/CloseSettingsEvent.asset
  9. 8
      UOP1_Project/Assets/ScriptableObjects/Events/UI/CloseSettingsEvent.asset.meta
  10. 0
      /UOP1_Project/Assets/Prefabs/UI/WIP/UIHealthbar.prefab
  11. 0
      /UOP1_Project/Assets/Prefabs/UI/WIP/UIHealthbar.prefab.meta
  12. 0
      /UOP1_Project/Assets/Prefabs/UI/WIP/Settings.meta
  13. 0
      /UOP1_Project/Assets/Prefabs/UI/WIP/Settings

468
UOP1_Project/Assets/Scenes/Menus/MainMenu.unity


m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 381379602, guid: 88498729c08b74b588c91db70fc55665, type: 3}
propertyPath: _closeCreditsEvent
value:
objectReference: {fileID: 11400000, guid: e254a2d838f7f4c869b9b8ddf049f4b4,
type: 2}
- target: {fileID: 381379602, guid: 88498729c08b74b588c91db70fc55665, type: 3}
propertyPath: _closeSettingsEvent
value:
objectReference: {fileID: 11400000, guid: c42d49d01efc749a9a5326b51dcc32af,
type: 2}
- target: {fileID: 892254965, guid: 88498729c08b74b588c91db70fc55665, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 31749702083169474, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchorMax.y

propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1847093150164366842, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1847093151036466593, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1847093151036466593, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1847093151036466593, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1847093151036466593, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1847093151036466593, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1847093151642812976, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1847093151642812976, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1847093151642812976, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1847093151642812976, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1847093151642812976, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6501532797693414060, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchorMax.y

propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7484170199785075497, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7484170199785075497, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7484170199785075497, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7484170199785075497, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7484170199785075497, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7484170199808718324, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7484170199808718324, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7484170199808718324, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7484170199808718324, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7484170199808718324, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
--- !u!224 &381379599 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 892254966, guid: 88498729c08b74b588c91db70fc55665,
type: 3}
m_PrefabInstance: {fileID: 381379598}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1419319618
GameObject:
m_ObjectHideFlags: 0

m_Father: {fileID: 0}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1689229997
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1689229998}
- component: {fileID: 1689230000}
- component: {fileID: 1689229999}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1689229998
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1689229997}
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: 1917222511}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.2, y: 0.2}
m_AnchorMax: {x: 0.8, y: 0.8}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1689229999
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1689229997}
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: 0.9622642, g: 0.73985404, b: 0.73985404, 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: adb9869bd647c4e50b465fc97a027dcd, type: 3}
m_Type: 0
m_PreserveAspect: 1
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &1689230000
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1689229997}
m_CullTransparentMesh: 0
--- !u!1001 &1917222510
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 381379599}
m_Modifications:
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_Pivot.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_Pivot.y
value: 0.6060664
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_RootOrder
value: 2
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_AnchorMax.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_AnchorMin.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_SizeDelta.x
value: 65.522484
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_SizeDelta.y
value: 64.98442
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalScale.x
value: 1.0009267
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalScale.y
value: 1.0009267
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalScale.z
value: 1.0009267
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_AnchoredPosition.x
value: -51.247593
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -39.536682
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 657795093660955452, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_Name
value: Button Close
objectReference: {fileID: 0}
- target: {fileID: 657795093660955452, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5795051186182416585, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_text
value: X
objectReference: {fileID: 0}
- target: {fileID: 5795051186182416585, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_fontAsset
value:
objectReference: {fileID: 11400000, guid: fe129390af88b40faa85c89db6820ea6,
type: 2}
- target: {fileID: 5795051186182416585, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_fontStyle
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5795051186182416585, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_fontColor.b
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5795051186182416585, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_fontColor.g
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5795051186182416585, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_fontColor.r
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5795051186182416585, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_sharedMaterial
value:
objectReference: {fileID: 0}
- target: {fileID: 5795051186182416585, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_fontColor32.rgba
value: 4294967295
objectReference: {fileID: 0}
- target: {fileID: 5795051186182416585, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_hasFontAssetChanged
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6063084967698345726, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6880293173517029546, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_Type
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6880293173517029546, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_Sprite
value:
objectReference: {fileID: 21300000, guid: 552c608eb20bd4c5781d8232dfa30669,
type: 3}
- target: {fileID: 6880293173517029546, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_Color.b
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6880293173517029546, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_Color.g
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6880293173517029546, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_Color.r
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6880293173517029546, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_PreserveAspect
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7745052901829238491, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_Navigation.m_Mode
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7745052901829238491, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7745052901829238491, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7745052901829238491, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 11400000, guid: e254a2d838f7f4c869b9b8ddf049f4b4,
type: 2}
- target: {fileID: 7745052901829238491, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 7745052901829238491, guid: b01383ebcda1049008a325f2ca7e6aca,
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}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName
value: UnityEngine.Object, UnityEngine
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: b01383ebcda1049008a325f2ca7e6aca, type: 3}
--- !u!224 &1917222511 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
m_PrefabInstance: {fileID: 1917222510}
m_PrefabAsset: {fileID: 0}

19
UOP1_Project/Assets/UIMenuManager.cs


[Header("Listening to")]
[SerializeField]
private VoidEventChannelSO _closePopupEvent = default;
[SerializeField]
private VoidEventChannelSO _closeSettingsEvent = default;
[SerializeField]
private VoidEventChannelSO _closeCreditsEvent = default;
[SerializeField]
private BoolEventChannelSO _confirmPopupEvent = default;

private void Start()
{
_inputReader.EnableMenuInput();
_closeSettingsEvent.OnEventRaised += CloseSettingsScreen;
_closeCreditsEvent.OnEventRaised += CloseCreditsScreen;
SetMenuScreen();
}

}
public void OpenSettingsScreen()
{
_settingsPanel.SetActive(true);
_settingsPanel.SetActive(true);
_inputReader.closePopupEvent += CloseSettingsScreen;
_inputReader.closePopupEvent -= CloseSettingsScreen;
_settingsPanel.SetActive(false);
SetMenuScreen();

_creditsPanel.SetActive(true);
_creditsPanel.SetActive(true);
_inputReader.closePopupEvent += CloseCreditsScreen;
_inputReader.closePopupEvent -= CloseCreditsScreen;
_creditsPanel.SetActive(false);
SetMenuScreen();

4
UOP1_Project/UserSettings/EditorUserSettings.asset


value: 22424703114646680e0b0227036c6a39563e163e292f34313920123dacf53a31f6fe
flags: 0
RecentlyUsedScenePath-7:
value: 22424703114646680e0b0227036c683926582c2f3f3c2f3e2a0e0f3cf7ee3076f7e93ffdfe
value: 22424703114646680e0b0227036c721118161f2f3e3b69172c241823eee12d76f7e93ffdfe
value: 22424703114646680e0b0227036c721118161f2f3e3b69172c241823eee12d76f7e93ffdfe
value: 22424703114646680e0b0227036c683926582c2f3f3c2f3e2a0e0f3cf7ee3076f7e93ffdfe
flags: 0
RecentlyUsedScenePath-9:
value: 22424703114646680e0b0227036c721518020b6501292f3e002c1326acf53a31f6fe

368
UOP1_Project/Assets/Prefabs/UI/WIP/Settings/Settings_Panel.prefab


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &90523870680055009
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 3604612772541246602}
- component: {fileID: 8769606570746804629}
- component: {fileID: 8507194811994250924}
m_Layer: 5
m_Name: Image
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &3604612772541246602
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 90523870680055009}
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: 3579478411799882482}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.2, y: 0.2}
m_AnchorMax: {x: 0.8, y: 0.8}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8769606570746804629
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 90523870680055009}
m_CullTransparentMesh: 0
--- !u!114 &8507194811994250924
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 90523870680055009}
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: 0.9622642, g: 0.73985404, b: 0.73985404, 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: adb9869bd647c4e50b465fc97a027dcd, type: 3}
m_Type: 0
m_PreserveAspect: 1
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &1847093150031373198
GameObject:
m_ObjectHideFlags: 0

- {fileID: 1847093150031373199}
- {fileID: 1847093151536612367}
- {fileID: 1847093151243874148}
- {fileID: 3579478411799882482}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: f972fe86e7dcf4b0e911528970aea6c4, type: 3}
--- !u!224 &7484170199059436612 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 9115052875433558163, guid: f972fe86e7dcf4b0e911528970aea6c4,
type: 3}
m_PrefabInstance: {fileID: 1847093151137682647}
m_PrefabAsset: {fileID: 0}
--- !u!114 &562693201423361180 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 2192451556169986123, guid: f972fe86e7dcf4b0e911528970aea6c4,

m_Script: {fileID: 11500000, guid: fa7c15a36589a494d85b3f722cd0eeb0, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!224 &7484170199059436612 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 9115052875433558163, guid: f972fe86e7dcf4b0e911528970aea6c4,
type: 3}
m_PrefabInstance: {fileID: 1847093151137682647}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &1847093151168664074
PrefabInstance:
m_ObjectHideFlags: 0

m_Script: {fileID: 11500000, guid: fa7c15a36589a494d85b3f722cd0eeb0, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1001 &3684598455574483479
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 1847093151952770123}
m_Modifications:
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_Pivot.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_Pivot.y
value: 0.6060664
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_RootOrder
value: 4
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_AnchorMax.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_AnchorMin.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_SizeDelta.x
value: 65.522484
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_SizeDelta.y
value: 64.98442
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalScale.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalScale.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalScale.z
value: 1
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_AnchoredPosition.x
value: -52
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -40
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 657795093660955452, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_Name
value: Button Close
objectReference: {fileID: 0}
- target: {fileID: 657795093660955452, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5795051186182416585, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_text
value: X
objectReference: {fileID: 0}
- target: {fileID: 5795051186182416585, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_fontAsset
value:
objectReference: {fileID: 11400000, guid: fe129390af88b40faa85c89db6820ea6,
type: 2}
- target: {fileID: 5795051186182416585, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_fontStyle
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5795051186182416585, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_fontColor.b
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5795051186182416585, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_fontColor.g
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5795051186182416585, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_fontColor.r
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5795051186182416585, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_sharedMaterial
value:
objectReference: {fileID: 0}
- target: {fileID: 5795051186182416585, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_fontColor32.rgba
value: 4294967295
objectReference: {fileID: 0}
- target: {fileID: 5795051186182416585, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_hasFontAssetChanged
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6063084967698345726, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6880293173517029546, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_Type
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6880293173517029546, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_Sprite
value:
objectReference: {fileID: 21300000, guid: 552c608eb20bd4c5781d8232dfa30669,
type: 3}
- target: {fileID: 6880293173517029546, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_Color.b
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6880293173517029546, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_Color.g
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6880293173517029546, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_Color.r
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6880293173517029546, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_PreserveAspect
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7745052901829238491, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_Navigation.m_Mode
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7745052901829238491, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7745052901829238491, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7745052901829238491, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 11400000, guid: c42d49d01efc749a9a5326b51dcc32af,
type: 2}
- target: {fileID: 7745052901829238491, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 7745052901829238491, guid: b01383ebcda1049008a325f2ca7e6aca,
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}
propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName
value: UnityEngine.Object, UnityEngine
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: b01383ebcda1049008a325f2ca7e6aca, type: 3}
--- !u!224 &3579478411799882482 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 184241180236232933, guid: b01383ebcda1049008a325f2ca7e6aca,
type: 3}
m_PrefabInstance: {fileID: 3684598455574483479}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &7484170199103571074
PrefabInstance:
m_ObjectHideFlags: 0

objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: f972fe86e7dcf4b0e911528970aea6c4, type: 3}
--- !u!224 &1847093151080956945 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 9115052875433558163, guid: f972fe86e7dcf4b0e911528970aea6c4,
type: 3}
m_PrefabInstance: {fileID: 7484170199103571074}
m_PrefabAsset: {fileID: 0}
--- !u!114 &8768572485288441033 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 2192451556169986123, guid: f972fe86e7dcf4b0e911528970aea6c4,

m_Script: {fileID: 11500000, guid: fa7c15a36589a494d85b3f722cd0eeb0, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!224 &1847093151080956945 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 9115052875433558163, guid: f972fe86e7dcf4b0e911528970aea6c4,
type: 3}
m_PrefabInstance: {fileID: 7484170199103571074}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &8679344159744984838
PrefabInstance:
m_ObjectHideFlags: 0

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


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

15
UOP1_Project/Assets/ScriptableObjects/Events/UI/CloseCreditsEvent.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: CloseCreditsEvent
m_EditorClassIdentifier:
description:

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


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

15
UOP1_Project/Assets/ScriptableObjects/Events/UI/CloseSettingsEvent.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: CloseSettingsEvent
m_EditorClassIdentifier:
description:

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


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

/UOP1_Project/Assets/Prefabs/UI/UIHealthbar.prefab → /UOP1_Project/Assets/Prefabs/UI/WIP/UIHealthbar.prefab

/UOP1_Project/Assets/Prefabs/UI/UIHealthbar.prefab.meta → /UOP1_Project/Assets/Prefabs/UI/WIP/UIHealthbar.prefab.meta

/UOP1_Project/Assets/Prefabs/UI/Settings.meta → /UOP1_Project/Assets/Prefabs/UI/WIP/Settings.meta

/UOP1_Project/Assets/Prefabs/UI/Settings → /UOP1_Project/Assets/Prefabs/UI/WIP/Settings

正在加载...
取消
保存