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,111 @@
<?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.Localization.UI" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import schemaLocation="UnityEngine.UIElements.xsd" namespace="UnityEngine.UIElements" />
<xs:simpleType name="XliffVersionPopup_value_Type">
<xs:restriction base="xs:string">
<xs:enumeration value="V12" />
<xs:enumeration value="V20" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="XliffVersionPopupType">
<xs:complexContent mixed="false">
<xs:restriction base="engine:VisualElementType">
<xs:attribute default="" 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="true" 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 default="" name="binding-path" type="xs:string" use="optional" />
<xs:attribute default="XLIFF Version" name="label" type="xs:string" use="optional" />
<xs:attribute default="V20" name="value" xmlns:q1="UnityEditor.Localization.UI" type="q1:XliffVersionPopup_value_Type" 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="XliffVersionPopup" substitutionGroup="engine:VisualElement" xmlns:q2="UnityEditor.Localization.UI" type="q2:XliffVersionPopupType" />
<xs:complexType name="ProjectTablesPopupType">
<xs:complexContent mixed="false">
<xs:restriction base="engine:VisualElementType">
<xs:attribute default="" 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="true" 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 default="" name="binding-path" type="xs:string" use="optional" />
<xs:attribute default="Selected collection" name="label" type="xs:string" use="optional" />
<xs:attribute default="MyTexts(StringTable)" name="value" 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="ProjectTablesPopup" substitutionGroup="engine:VisualElement" xmlns:q3="UnityEditor.Localization.UI" type="q3:ProjectTablesPopupType" />
<xs:complexType name="ProjectCollectionsTableSelectorType">
<xs:complexContent mixed="false">
<xs:restriction base="engine:VisualElementType">
<xs:attribute default="" 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 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="ProjectCollectionsTableSelector" substitutionGroup="engine:VisualElement" xmlns:q4="UnityEditor.Localization.UI" type="q4:ProjectCollectionsTableSelectorType" />
<xs:complexType name="ProjectLocalePopupFieldType">
<xs:complexContent mixed="false">
<xs:restriction base="engine:VisualElementType">
<xs:attribute default="" 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="true" 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 default="" name="binding-path" type="xs:string" use="optional" />
<xs:attribute default="" name="label" type="xs:string" use="optional" />
<xs:attribute default="" name="value" 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="ProjectLocalePopupField" substitutionGroup="engine:VisualElement" xmlns:q5="UnityEditor.Localization.UI" type="q5:ProjectLocalePopupFieldType" />
</xs:schema>