This commit is contained in:
2025-03-14 19:53:29 +01:00
commit 0d3516774e
159 changed files with 9069 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1669c143c5f6ba94e970d836b20d1a55
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,31 @@
%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: e8d574cf0e024ec7bc4363a675dbb2c9, type: 3}
m_Name: Input Action Toggle Console
m_EditorClassIdentifier:
<Action>k__BackingField:
m_Name: Action
m_Type: 1
m_ExpectedControlType: Button
m_Id: 0d0a8fd1-a016-4d24-af36-05ef6eacf0a5
m_Processors:
m_Interactions:
m_SingletonActionBindings:
- m_Name:
m_Id: 8195e9d6-52a1-473e-9294-52401e109f50
m_Path: <Keyboard>/backquote
m_Interactions:
m_Processors:
m_Groups:
m_Action: Action
m_Flags: 0
m_Flags: 0

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1c5aabf95d7e5d949af83d0a4c686e95
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,258 @@
{
"name": "RealityKitControls",
"maps": [
{
"name": "FPP",
"id": "b0bcb628-1df3-4a2c-b682-23bb146d08d6",
"actions": [
{
"name": "Move",
"type": "Value",
"id": "3c626577-80b8-479c-9f89-3de5215ff88e",
"expectedControlType": "Vector2",
"processors": "",
"interactions": "",
"initialStateCheck": true
},
{
"name": "Look",
"type": "Value",
"id": "248f8f05-7290-4f55-aee3-cc25577f9bf8",
"expectedControlType": "Vector2",
"processors": "",
"interactions": "",
"initialStateCheck": true
},
{
"name": "Jump",
"type": "Button",
"id": "8de4d981-bcae-4100-af76-05d381d961a6",
"expectedControlType": "",
"processors": "",
"interactions": "",
"initialStateCheck": false
},
{
"name": "PhysicsDrag",
"type": "Button",
"id": "bf3d1155-8050-482a-ae55-fa8d47c95e94",
"expectedControlType": "",
"processors": "",
"interactions": "",
"initialStateCheck": false
},
{
"name": "Primary",
"type": "Button",
"id": "b00af1dd-1084-4763-8751-fdde9810b2eb",
"expectedControlType": "",
"processors": "",
"interactions": "",
"initialStateCheck": false
},
{
"name": "Secondary",
"type": "Button",
"id": "982c57c9-6862-436b-9e85-41fcbd047312",
"expectedControlType": "",
"processors": "",
"interactions": "",
"initialStateCheck": false
},
{
"name": "Use",
"type": "Button",
"id": "3284ff03-949a-4f12-913b-1b74b99a599e",
"expectedControlType": "",
"processors": "",
"interactions": "",
"initialStateCheck": false
},
{
"name": "Menu0",
"type": "Button",
"id": "f861a8bc-4861-44ae-bb4f-e3bca9efae2c",
"expectedControlType": "",
"processors": "",
"interactions": "",
"initialStateCheck": false
},
{
"name": "Menu1",
"type": "Button",
"id": "925a66f6-64a7-4bbf-9eee-a6138e6372c3",
"expectedControlType": "",
"processors": "",
"interactions": "",
"initialStateCheck": false
},
{
"name": "Menu2",
"type": "Button",
"id": "c4f819fc-4f38-4782-b5dc-d3f59cbcafc7",
"expectedControlType": "",
"processors": "",
"interactions": "",
"initialStateCheck": false
}
],
"bindings": [
{
"name": "",
"id": "7856b569-f241-4d9d-86ef-3f2f43c93730",
"path": "<Mouse>/delta",
"interactions": "",
"processors": "",
"groups": "",
"action": "Look",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "dd672a14-64ba-4cf6-a7b6-dbd4ac779d9f",
"path": "<Keyboard>/space",
"interactions": "",
"processors": "",
"groups": "",
"action": "Jump",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "095c0e94-6900-442e-8bad-a61430bfead1",
"path": "<Keyboard>/f",
"interactions": "",
"processors": "",
"groups": "",
"action": "PhysicsDrag",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "d01e2a9b-4e4a-439f-892d-db8521ed0028",
"path": "<Mouse>/leftButton",
"interactions": "",
"processors": "",
"groups": "",
"action": "Primary",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "0f8ae92e-c66e-4807-b95d-2fab59bd4e81",
"path": "<Mouse>/rightButton",
"interactions": "",
"processors": "",
"groups": "",
"action": "Secondary",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "WASD",
"id": "3151504d-248f-47a2-b1c6-c62f5582beea",
"path": "2DVector",
"interactions": "",
"processors": "",
"groups": "",
"action": "Move",
"isComposite": true,
"isPartOfComposite": false
},
{
"name": "up",
"id": "7bb02b96-4858-48c7-b3f9-52975278ccfa",
"path": "<Keyboard>/w",
"interactions": "",
"processors": "",
"groups": "",
"action": "Move",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "down",
"id": "e2eda81d-db6a-4785-b6ea-adf41d23f1f4",
"path": "<Keyboard>/s",
"interactions": "",
"processors": "",
"groups": "",
"action": "Move",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "left",
"id": "784f8cb3-6b5c-4234-8fdd-d439d0a4353e",
"path": "<Keyboard>/a",
"interactions": "",
"processors": "",
"groups": "",
"action": "Move",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "right",
"id": "8c6bd391-705d-471d-a2d9-de82963f0c63",
"path": "<Keyboard>/d",
"interactions": "",
"processors": "",
"groups": "",
"action": "Move",
"isComposite": false,
"isPartOfComposite": true
},
{
"name": "",
"id": "358c81fe-cbfe-455a-8828-a6d166426430",
"path": "<Keyboard>/e",
"interactions": "",
"processors": "",
"groups": "",
"action": "Use",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "352a96ce-7752-40ca-8ee7-dcc84bbdebd2",
"path": "<Keyboard>/i",
"interactions": "",
"processors": "",
"groups": "",
"action": "Menu0",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "956136b4-30ff-49d2-bd98-b42bd8944543",
"path": "<Keyboard>/m",
"interactions": "",
"processors": "",
"groups": "",
"action": "Menu1",
"isComposite": false,
"isPartOfComposite": false
},
{
"name": "",
"id": "ad048d87-67fa-434f-a0ed-cce955e68659",
"path": "<Keyboard>/b",
"interactions": "",
"processors": "",
"groups": "",
"action": "Menu2",
"isComposite": false,
"isPartOfComposite": false
}
]
}
],
"controlSchemes": []
}

View File

@@ -0,0 +1,14 @@
fileFormatVersion: 2
guid: f991e9abd9a53ee4b94b329a5ce96cb2
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 8404be70184654265930450def6a9037, type: 3}
generateWrapperCode: 0
wrapperCodePath:
wrapperClassName:
wrapperCodeNamespace:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: de04d80b0e009df488b07763a923887c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,20 @@
%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: 577b018c25510774aaccba06137e264d, type: 3}
m_Name: Console
m_EditorClassIdentifier:
_config:
ConsoleUIPrefab: {fileID: 1375678557884231458, guid: f83916a033d3c4b45b40ee51f7f62a5c,
type: 3}
ToggleAction: {fileID: 11400000, guid: 1c5aabf95d7e5d949af83d0a4c686e95, type: 2}
_initialCVars: []
_loadCVarsFromResources: 1

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c5c519d68547d704da8672695e382c08
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,68 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &3601716648929981382
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1331948412974115855}
- component: {fileID: 1375678557884231458}
- component: {fileID: 8622248495270372400}
m_Layer: 5
m_Name: ConsoleUI
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1331948412974115855
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3601716648929981382}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 9, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1375678557884231458
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3601716648929981382}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ca844a0157054677b2f129fdbf6ddc45, type: 3}
m_Name:
m_EditorClassIdentifier:
_document: {fileID: 8622248495270372400}
--- !u!114 &8622248495270372400
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3601716648929981382}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 19102, guid: 0000000000000000e000000000000000, type: 0}
m_Name:
m_EditorClassIdentifier:
m_PanelSettings: {fileID: 11400000, guid: c4c93f1ef3cc3324696c439305139cbb, type: 2}
m_ParentUI: {fileID: 0}
sourceAsset: {fileID: 9197481963319205126, guid: 15eee085e73feee4eba58c073b1455c5,
type: 3}
m_SortingOrder: 0
m_WorldSpaceSizeMode: 1
m_WorldSpaceWidth: 1920
m_WorldSpaceHeight: 1080

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: f83916a033d3c4b45b40ee51f7f62a5c
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,14 @@
%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: 51f134b6c2abcd34fa8e376b3afc757d, type: 3}
m_Name: Game
m_EditorClassIdentifier:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 75254d95c14787546b733dc1b448fb3d
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,17 @@
%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: 8fcf71fe79ef1ed4cbfdefde09e708d9, type: 3}
m_Name: Input
m_EditorClassIdentifier:
_config:
InputAsset: {fileID: -944628639613478452, guid: f991e9abd9a53ee4b94b329a5ce96cb2,
type: 3}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 64a8b10c553e44f488e183dd04990761
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,14 @@
%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: 3f449396a11e05e41990dbddfb992815, type: 3}
m_Name: World
m_EditorClassIdentifier:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: d6d951b44dc41664fb301e470fac8f80
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: dd2c2b8df7a65af4a9d64aa75ee34f5d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,47 @@
%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: 19101, guid: 0000000000000000e000000000000000, type: 0}
m_Name: Panel Settings
m_EditorClassIdentifier:
themeUss: {fileID: -4733365628477956816, guid: 5dd55e8f9f3419144b6d6fc3fcc478d0,
type: 3}
m_DisableNoThemeWarning: 0
m_TargetTexture: {fileID: 0}
m_RenderMode: 0
m_WorldSpaceLayer: 0
m_ScaleMode: 0
m_ReferenceSpritePixelsPerUnit: 1
m_PixelsPerUnit: 100
m_Scale: 1
m_ReferenceDpi: 96
m_FallbackDpi: 96
m_ReferenceResolution: {x: 1200, y: 800}
m_ScreenMatchMode: 0
m_Match: 0
m_SortingOrder: 0
m_TargetDisplay: 0
m_BindingLogLevel: 0
m_ClearDepthStencil: 1
m_ClearColor: 0
m_ColorClearValue: {r: 0, g: 0, b: 0, a: 0}
m_VertexBudget: 0
m_DynamicAtlasSettings:
m_MinAtlasSize: 64
m_MaxAtlasSize: 4096
m_MaxSubTextureSize: 64
m_ActiveFilters: -1
m_AtlasBlitShader: {fileID: 9101, guid: 0000000000000000f000000000000000, type: 0}
m_RuntimeShader: {fileID: 9100, guid: 0000000000000000f000000000000000, type: 0}
m_RuntimeWorldShader: {fileID: 9102, guid: 0000000000000000f000000000000000, type: 0}
m_ICUDataAsset: {fileID: 0}
forceGammaRendering: 0
textSettings: {fileID: 0}

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c4c93f1ef3cc3324696c439305139cbb
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,99 @@
@import url("/Assets/UI Toolkit/UnityThemes/UnityDefaultRuntimeTheme.tss");
.rr-base {
color: #dedede;
}
.rr-label {
}
.rr-button {
background-color: #191919;
border-color: #373737;
border-radius: 3px;
border-width: 1px;
-unity-font-style: bold;
-unity-text-align: middle-center;
font-size: 13px;
height: 32px;
padding: 4px;
margin: 4px;
}
.rr-button:hover {
background-color: #202020;
}
.rr-button:focus {
background-color: #333333;
}
.rr-text-field {
background-color: #191919;
border-color: #373737;
border-radius: 3px;
border-width: 1px;
font-size: 13px;
-unity-text-align: middle-left;
width: 100%;
height: 32px;
padding: 4px;
margin: 4px;
}
.rr-scroll-view {
background-color: #232323;
border-color: #373737;
border-radius: 3px;
border-width: 1px;
padding: 4px;
margin: 4px;
}
.window-bg {
border-width: 2px;
border-color: #373737;
background-color: #212121;
}
.window-content {
border-color: #373737;
border-width: 1px;
background-color: #272727;
margin: 12px;
padding: 8px;
}
#console-window {
max-height: 60%;
}
#console-scrollview {
margin: 4px;
}
#console-bottomrow {
flex-direction: row;
justify-content: center;
align-content: center;
height: auto;
min-height: 32px;
max-height: 32px;
}
#console-btn-submit {
width: 72px;
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 5dd55e8f9f3419144b6d6fc3fcc478d0
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12388, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0

View File

@@ -0,0 +1,15 @@
<engine:UXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:engine="UnityEngine.UIElements" xmlns:editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<engine:VisualElement style="flex-grow: 1; background-color: rgba(176, 137, 137, 0.69); max-height: 100%; max-width: none; height: 100%;">
<engine:VisualElement name="console-window" enabled="true" class="window-bg" style="flex-grow: 1; text-shadow: 0 0 0 rgba(255, 255, 255, 0); position: relative; width: 100%; height: 100%; max-height: 100%;">
<engine:VisualElement name="VisualElement" enabled="true" class="window-content rr-base" style="flex-grow: 1; align-content: stretch; align-self: auto; justify-content: flex-start; align-items: stretch;">
<engine:ScrollView name="console-scrollview" class="rr-scroll-view" style="max-height: none; height: 100%;">
<engine:Label text="Label" />
</engine:ScrollView>
<engine:VisualElement name="console-bottomrow" style="flex-grow: 1; flex-basis: auto; flex-direction: row; align-items: center; justify-content: flex-end; align-self: stretch; align-content: stretch; flex-wrap: nowrap;">
<engine:TextField name="console-textfield" class="rr-text-field" style="width: 92%;" />
<engine:Button text="Submit" name="console-btn-submit" class="rr-button" />
</engine:VisualElement>
</engine:VisualElement>
</engine:VisualElement>
</engine:VisualElement>
</engine:UXML>

View File

@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 15eee085e73feee4eba58c073b1455c5
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}