Reworked options menu as a prefab and changed pause menu a bit. Need to work on option loading (Currently still old mechanic) and jumping cam when striving and looking.

This commit is contained in:
finnchen123
2026-02-22 12:42:52 +01:00
parent 72d1dae796
commit 85e659e23c
46 changed files with 15286 additions and 1555 deletions

View File

@@ -0,0 +1,130 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:editor="UnityEditor.UIElements" xmlns:engine="UnityEngine.UIElements" xmlns:AddressablesGUI="UnityEditor.AddressableAssets.GUIElements" xmlns="UnityEditor.Accessibility" elementFormDefault="qualified" targetNamespace="UnityEditor.Overlays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import schemaLocation="UnityEngine.UIElements.xsd" namespace="UnityEngine.UIElements" />
<xs:complexType name="AnchoredOverlayContainerType">
<xs:complexContent mixed="false">
<xs:restriction base="engine:VisualElementType">
<xs:attribute default="unity-overlay-container" name="name" type="xs:string" use="optional" />
<xs:attribute default="true" name="enabled" type="xs:boolean" use="optional" />
<xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
<xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
<xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
<xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
<xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
<xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
<xs:attribute default="Inherit" name="language-direction" type="engine:VisualElement_language-direction_Type" use="optional" />
<xs:attribute default="" name="data-source" type="xs:string" use="optional" />
<xs:attribute default="" name="data-source-path" type="xs:string" use="optional" />
<xs:attribute default="" name="data-source-type" type="xs:string" use="optional" />
<xs:attribute name="horizontal" type="xs:boolean" use="optional" />
<xs:attribute default="" name="supported-overlay-layout" type="xs:string" use="optional" />
<xs:attribute default="" name="content-container" type="xs:string" use="optional" />
<xs:attribute default="" name="class" type="xs:string" use="optional" />
<xs:attribute default="" name="style" type="xs:string" use="optional" />
<xs:anyAttribute processContents="lax" />
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<xs:element name="AnchoredOverlayContainer" substitutionGroup="engine:VisualElement" xmlns:q1="UnityEditor.Overlays" type="q1:AnchoredOverlayContainerType" />
<xs:complexType name="OverlayContainerType">
<xs:complexContent mixed="false">
<xs:restriction base="engine:VisualElementType">
<xs:attribute default="unity-overlay-container" name="name" type="xs:string" use="optional" />
<xs:attribute default="true" name="enabled" type="xs:boolean" use="optional" />
<xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
<xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
<xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
<xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
<xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
<xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
<xs:attribute default="Inherit" name="language-direction" type="engine:VisualElement_language-direction_Type" use="optional" />
<xs:attribute default="" name="data-source" type="xs:string" use="optional" />
<xs:attribute default="" name="data-source-path" type="xs:string" use="optional" />
<xs:attribute default="" name="data-source-type" type="xs:string" use="optional" />
<xs:attribute name="horizontal" type="xs:boolean" use="optional" />
<xs:attribute default="" name="supported-overlay-layout" type="xs:string" use="optional" />
<xs:attribute default="" name="content-container" type="xs:string" use="optional" />
<xs:attribute default="" name="class" type="xs:string" use="optional" />
<xs:attribute default="" name="style" type="xs:string" use="optional" />
<xs:anyAttribute processContents="lax" />
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<xs:element name="OverlayContainer" substitutionGroup="engine:VisualElement" xmlns:q2="UnityEditor.Overlays" type="q2:OverlayContainerType" />
<xs:complexType name="DynamicPanelOverlayContainerType">
<xs:complexContent mixed="false">
<xs:restriction base="engine:VisualElementType">
<xs:attribute default="unity-overlay-container" name="name" type="xs:string" use="optional" />
<xs:attribute default="true" name="enabled" type="xs:boolean" use="optional" />
<xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
<xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
<xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
<xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
<xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
<xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
<xs:attribute default="Inherit" name="language-direction" type="engine:VisualElement_language-direction_Type" use="optional" />
<xs:attribute default="" name="data-source" type="xs:string" use="optional" />
<xs:attribute default="" name="data-source-path" type="xs:string" use="optional" />
<xs:attribute default="" name="data-source-type" type="xs:string" use="optional" />
<xs:attribute name="horizontal" type="xs:boolean" use="optional" />
<xs:attribute default="" name="supported-overlay-layout" type="xs:string" use="optional" />
<xs:attribute default="false" name="align-right" type="xs:boolean" use="optional" />
<xs:attribute default="" name="content-container" type="xs:string" use="optional" />
<xs:attribute default="" name="class" type="xs:string" use="optional" />
<xs:attribute default="" name="style" type="xs:string" use="optional" />
<xs:anyAttribute processContents="lax" />
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<xs:element name="DynamicPanelOverlayContainer" substitutionGroup="engine:VisualElement" xmlns:q3="UnityEditor.Overlays" type="q3:DynamicPanelOverlayContainerType" />
<xs:complexType name="ToolbarOverlayContainerType">
<xs:complexContent mixed="false">
<xs:restriction base="engine:VisualElementType">
<xs:attribute default="unity-overlay-container" name="name" type="xs:string" use="optional" />
<xs:attribute default="true" name="enabled" type="xs:boolean" use="optional" />
<xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
<xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
<xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
<xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
<xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
<xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
<xs:attribute default="Inherit" name="language-direction" type="engine:VisualElement_language-direction_Type" use="optional" />
<xs:attribute default="" name="data-source" type="xs:string" use="optional" />
<xs:attribute default="" name="data-source-path" type="xs:string" use="optional" />
<xs:attribute default="" name="data-source-type" type="xs:string" use="optional" />
<xs:attribute name="horizontal" type="xs:boolean" use="optional" />
<xs:attribute default="" name="supported-overlay-layout" type="xs:string" use="optional" />
<xs:attribute default="" name="content-container" type="xs:string" use="optional" />
<xs:attribute default="" name="class" type="xs:string" use="optional" />
<xs:attribute default="" name="style" type="xs:string" use="optional" />
<xs:anyAttribute processContents="lax" />
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<xs:element name="ToolbarOverlayContainer" substitutionGroup="engine:VisualElement" xmlns:q4="UnityEditor.Overlays" type="q4:ToolbarOverlayContainerType" />
<xs:complexType name="MainToolbarOverlayContainerType">
<xs:complexContent mixed="false">
<xs:restriction base="engine:VisualElementType">
<xs:attribute default="unity-overlay-container" name="name" type="xs:string" use="optional" />
<xs:attribute default="true" name="enabled" type="xs:boolean" use="optional" />
<xs:attribute default="" name="view-data-key" type="xs:string" use="optional" />
<xs:attribute default="Position" name="picking-mode" type="engine:VisualElement_picking-mode_Type" use="optional" />
<xs:attribute default="" name="tooltip" type="xs:string" use="optional" />
<xs:attribute default="None" name="usage-hints" type="engine:VisualElement_usage-hints_Type" use="optional" />
<xs:attribute default="0" name="tabindex" type="xs:int" use="optional" />
<xs:attribute default="false" name="focusable" type="xs:boolean" use="optional" />
<xs:attribute default="Inherit" name="language-direction" type="engine:VisualElement_language-direction_Type" use="optional" />
<xs:attribute default="" name="data-source" type="xs:string" use="optional" />
<xs:attribute default="" name="data-source-path" type="xs:string" use="optional" />
<xs:attribute default="" name="data-source-type" type="xs:string" use="optional" />
<xs:attribute name="horizontal" type="xs:boolean" use="optional" />
<xs:attribute default="" name="supported-overlay-layout" type="xs:string" use="optional" />
<xs:attribute default="" name="content-container" type="xs:string" use="optional" />
<xs:attribute default="" name="class" type="xs:string" use="optional" />
<xs:attribute default="" name="style" type="xs:string" use="optional" />
<xs:anyAttribute processContents="lax" />
</xs:restriction>
</xs:complexContent>
</xs:complexType>
<xs:element name="MainToolbarOverlayContainer" substitutionGroup="engine:VisualElement" xmlns:q5="UnityEditor.Overlays" type="q5:MainToolbarOverlayContainerType" />
</xs:schema>