From 3c0e8d1f8956f0fa3bfebb22dccc30db3cdb50c1 Mon Sep 17 00:00:00 2001 From: Finnchen123 Date: Sat, 7 Sep 2024 19:11:53 +0200 Subject: [PATCH] Finished basic controls, worked on tile generation --- .../AddressableAssetSettings.asset | 3 +- Assets/Prefabs/Tile.prefab | 169 ++++ Assets/Prefabs/Tile.prefab.meta | 7 + Assets/Scenes/GameScene.unity | 275 ++----- Assets/Scripts/Controls.cs | 34 +- Assets/Scripts/Tile.cs | 23 + Assets/Scripts/Tile.cs.meta | 11 + Assets/Scripts/TileModifier.cs | 13 + Assets/Scripts/TileModifier.cs.meta | 11 + Assets/Scripts/WorldGenerator.cs | 19 +- Assets/actionmap.inputactions | 31 + Assets/localization.asset | 2 +- UserSettings/Layouts/default-2022.dwlt | 774 ++++++++++++++++-- 13 files changed, 1060 insertions(+), 312 deletions(-) create mode 100644 Assets/Prefabs/Tile.prefab create mode 100644 Assets/Prefabs/Tile.prefab.meta create mode 100644 Assets/Scripts/Tile.cs create mode 100644 Assets/Scripts/Tile.cs.meta create mode 100644 Assets/Scripts/TileModifier.cs create mode 100644 Assets/Scripts/TileModifier.cs.meta diff --git a/Assets/AddressableAssetsData/AddressableAssetSettings.asset b/Assets/AddressableAssetsData/AddressableAssetSettings.asset index 6db6b0f..abbc1f0 100644 --- a/Assets/AddressableAssetsData/AddressableAssetSettings.asset +++ b/Assets/AddressableAssetsData/AddressableAssetSettings.asset @@ -15,7 +15,7 @@ MonoBehaviour: m_DefaultGroup: bb792ec3375a0794f90c4eb4562ecd48 m_currentHash: serializedVersion: 2 - Hash: 83428b4d99502ef6cd14156b44098919 + Hash: 1e1fb353756fc72794029e16b250c10c m_OptimizeCatalogSize: 0 m_BuildRemoteCatalog: 0 m_BundleLocalCatalog: 0 @@ -94,6 +94,7 @@ MonoBehaviour: - Locale - Locale-en - Locale-de + - Preload m_SchemaTemplates: [] m_GroupTemplateObjects: - {fileID: 11400000, guid: 094e599181224ae32bb24b221f6e9923, type: 2} diff --git a/Assets/Prefabs/Tile.prefab b/Assets/Prefabs/Tile.prefab new file mode 100644 index 0000000..4f83860 --- /dev/null +++ b/Assets/Prefabs/Tile.prefab @@ -0,0 +1,169 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1 &3202911257754518413 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 320959129255199420} + - component: {fileID: 1323245986789467739} + - component: {fileID: 8641065854321209087} + - component: {fileID: 5610536905663998088} + - component: {fileID: 6002061790547817125} + - component: {fileID: -9044467048652882874} + m_Layer: 0 + m_Name: Tile + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &320959129255199420 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3202911257754518413} + serializedVersion: 2 + 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_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &1323245986789467739 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3202911257754518413} + m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &8641065854321209087 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3202911257754518413} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 1 + m_RendererPriority: 0 + m_Materials: + - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!64 &5610536905663998088 +MeshCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3202911257754518413} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 1 + m_Enabled: 1 + serializedVersion: 5 + m_Convex: 0 + m_CookingOptions: 30 + m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} +--- !u!114 &6002061790547817125 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3202911257754518413} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 69beb381e244f92449b8c4cf954630e9, type: 3} + m_Name: + m_EditorClassIdentifier: + m_TrackedObjects: + - rid: 7692319861261205508 + references: + version: 2 + RefIds: + - rid: 7692319861261205508 + type: {class: TrackedTransform, ns: UnityEngine.Localization.PropertyVariants.TrackedObjects, asm: Unity.Localization} + data: + m_Target: {fileID: 320959129255199420} + m_TrackedProperties: + items: + - rid: 7692319861261205509 + - rid: 7692319861261205510 + - rid: 7692319861261205509 + type: {class: FloatTrackedProperty, ns: UnityEngine.Localization.PropertyVariants.TrackedProperties, asm: Unity.Localization} + data: + m_PropertyPath: m_LocalScale.x + m_VariantData: + - localeIdentifier: + m_Code: de + value: 10 + - localeIdentifier: + m_Code: en + value: 10 + - rid: 7692319861261205510 + type: {class: FloatTrackedProperty, ns: UnityEngine.Localization.PropertyVariants.TrackedProperties, asm: Unity.Localization} + data: + m_PropertyPath: m_LocalScale.z + m_VariantData: + - localeIdentifier: + m_Code: de + value: 10 + - localeIdentifier: + m_Code: en + value: 10 +--- !u!114 &-9044467048652882874 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3202911257754518413} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a4ad100ae18006c438490a7509944332, type: 3} + m_Name: + m_EditorClassIdentifier: diff --git a/Assets/Prefabs/Tile.prefab.meta b/Assets/Prefabs/Tile.prefab.meta new file mode 100644 index 0000000..1de0c45 --- /dev/null +++ b/Assets/Prefabs/Tile.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 95dc48467ee0c46a9a6dc8ac59506263 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/GameScene.unity b/Assets/Scenes/GameScene.unity index 58daa42..a0f0483 100644 --- a/Assets/Scenes/GameScene.unity +++ b/Assets/Scenes/GameScene.unity @@ -122,7 +122,7 @@ NavMeshSettings: debug: m_Flags: 0 m_NavMeshData: {fileID: 0} ---- !u!1 &402627787 +--- !u!1 &120760920 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -130,152 +130,96 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 402627791} - - component: {fileID: 402627790} - - component: {fileID: 402627789} - - component: {fileID: 402627788} - - component: {fileID: 402627792} + - component: {fileID: 120760922} + - component: {fileID: 120760921} + - component: {fileID: 120760923} m_Layer: 0 - m_Name: Plattform + m_Name: WorldGenerator m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!64 &402627788 -MeshCollider: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 402627787} - m_Material: {fileID: 0} - m_IncludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_ExcludeLayers: - serializedVersion: 2 - m_Bits: 0 - m_LayerOverridePriority: 0 - m_IsTrigger: 0 - m_ProvidesContacts: 1 - m_Enabled: 1 - serializedVersion: 5 - m_Convex: 0 - m_CookingOptions: 30 - m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} ---- !u!23 &402627789 -MeshRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 402627787} - m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 - m_DynamicOccludee: 1 - m_StaticShadowCaster: 0 - m_MotionVectors: 1 - m_LightProbeUsage: 1 - m_ReflectionProbeUsage: 1 - m_RayTracingMode: 2 - m_RayTraceProcedural: 0 - m_RenderingLayerMask: 1 - m_RendererPriority: 0 - m_Materials: - - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} - m_StaticBatchInfo: - firstSubMesh: 0 - subMeshCount: 0 - m_StaticBatchRoot: {fileID: 0} - m_ProbeAnchor: {fileID: 0} - m_LightProbeVolumeOverride: {fileID: 0} - m_ScaleInLightmap: 1 - m_ReceiveGI: 1 - m_PreserveUVs: 0 - m_IgnoreNormalsForChartDetection: 0 - m_ImportantGI: 0 - m_StitchLightmapSeams: 1 - m_SelectedEditorRenderState: 3 - m_MinimumChartSize: 4 - m_AutoUVMaxDistance: 0.5 - m_AutoUVMaxAngle: 89 - m_LightmapParameters: {fileID: 0} - m_SortingLayerID: 0 - m_SortingLayer: 0 - m_SortingOrder: 0 - m_AdditionalVertexStreams: {fileID: 0} ---- !u!33 &402627790 -MeshFilter: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 402627787} - m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} ---- !u!4 &402627791 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 402627787} - serializedVersion: 2 - 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_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 0} - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!114 &402627792 +--- !u!114 &120760921 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 402627787} + m_GameObject: {fileID: 120760920} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5ae095b383bb6a060b69f2a9616329af, type: 3} + m_Name: + m_EditorClassIdentifier: + availableTiles: [] +--- !u!4 &120760922 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 120760920} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -594.1156, y: -277.319, z: 742.9614} + 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 &120760923 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 120760920} m_Enabled: 1 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 69beb381e244f92449b8c4cf954630e9, type: 3} m_Name: m_EditorClassIdentifier: m_TrackedObjects: - - rid: 7692319749147983899 + - rid: 7692319861261205513 references: version: 2 RefIds: - - rid: 7692319749147983899 - type: {class: TrackedTransform, ns: UnityEngine.Localization.PropertyVariants.TrackedObjects, asm: Unity.Localization} + - rid: 7692319861261205513 + type: {class: TrackedMonoBehaviourObject, ns: UnityEngine.Localization.PropertyVariants.TrackedObjects, asm: Unity.Localization} data: - m_Target: {fileID: 402627791} + m_Target: {fileID: 120760921} m_TrackedProperties: items: - - rid: 7692319749147983900 - - rid: 7692319749147983901 - - rid: 7692319749147983900 - type: {class: FloatTrackedProperty, ns: UnityEngine.Localization.PropertyVariants.TrackedProperties, asm: Unity.Localization} + - rid: 7692319861261205514 + - rid: 7692319861261205515 + m_UpdateType: 1 + m_Changed: + m_PersistentCalls: + m_Calls: [] + - rid: 7692319861261205514 + type: {class: ArraySizeTrackedProperty, ns: UnityEngine.Localization.PropertyVariants.TrackedProperties, asm: Unity.Localization} data: - m_PropertyPath: m_LocalScale.x + m_PropertyPath: availableTiles.Array.size m_VariantData: - localeIdentifier: m_Code: de value: 1 - localeIdentifier: m_Code: en - value: 100 - - rid: 7692319749147983901 - type: {class: FloatTrackedProperty, ns: UnityEngine.Localization.PropertyVariants.TrackedProperties, asm: Unity.Localization} + value: 1 + - rid: 7692319861261205515 + type: {class: UnityObjectProperty, ns: UnityEngine.Localization.PropertyVariants.TrackedProperties, asm: Unity.Localization} data: - m_PropertyPath: m_LocalScale.z + m_PropertyPath: availableTiles.Array.data[0] + m_TypeString: Tile, Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null m_VariantData: - localeIdentifier: m_Code: de - value: 1 + value: {fileID: 3202911257754518413, guid: 95dc48467ee0c46a9a6dc8ac59506263, type: 3} - localeIdentifier: m_Code: en - value: 100 + value: {fileID: -9044467048652882874, guid: 95dc48467ee0c46a9a6dc8ac59506263, type: 3} --- !u!1 &1322220913 GameObject: m_ObjectHideFlags: 0 @@ -576,6 +520,8 @@ MonoBehaviour: movement: {x: 0, y: 0} rotation: {x: 0, y: 0} isAirborne: 0 + isJumping: 0 + lastDirection: {x: 0, y: 0, z: 0} --- !u!1 &1411237709 GameObject: m_ObjectHideFlags: 0 @@ -771,8 +717,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -910, y: -490} - m_SizeDelta: {x: 200, y: 50} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 50, y: 50} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &2004665056 MonoBehaviour: @@ -787,65 +733,10 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_TrackedObjects: - - rid: 7692319749147983902 - rid: 7692319749147983907 references: version: 2 RefIds: - - rid: 7692319749147983902 - type: {class: TrackedRectTransform, ns: UnityEngine.Localization.PropertyVariants.TrackedObjects, asm: Unity.Localization} - data: - m_Target: {fileID: 2004665055} - m_TrackedProperties: - items: - - rid: 7692319749147983903 - - rid: 7692319749147983904 - - rid: 7692319749147983905 - - rid: 7692319749147983906 - - rid: 7692319749147983903 - type: {class: FloatTrackedProperty, ns: UnityEngine.Localization.PropertyVariants.TrackedProperties, asm: Unity.Localization} - data: - m_PropertyPath: m_AnchoredPosition.x - m_VariantData: - - localeIdentifier: - m_Code: de - value: -910 - - localeIdentifier: - m_Code: en - value: 0 - - rid: 7692319749147983904 - type: {class: FloatTrackedProperty, ns: UnityEngine.Localization.PropertyVariants.TrackedProperties, asm: Unity.Localization} - data: - m_PropertyPath: m_AnchoredPosition.y - m_VariantData: - - localeIdentifier: - m_Code: de - value: -490 - - localeIdentifier: - m_Code: en - value: 0 - - rid: 7692319749147983905 - type: {class: FloatTrackedProperty, ns: UnityEngine.Localization.PropertyVariants.TrackedProperties, asm: Unity.Localization} - data: - m_PropertyPath: m_SizeDelta.x - m_VariantData: - - localeIdentifier: - m_Code: de - value: 200 - - localeIdentifier: - m_Code: en - value: 50 - - rid: 7692319749147983906 - type: {class: FloatTrackedProperty, ns: UnityEngine.Localization.PropertyVariants.TrackedProperties, asm: Unity.Localization} - data: - m_PropertyPath: m_SizeDelta.y - m_VariantData: - - localeIdentifier: - m_Code: de - value: 50 - - localeIdentifier: - m_Code: en - value: 500 - rid: 7692319749147983907 type: {class: TrackedUGuiGraphic, ns: UnityEngine.Localization.PropertyVariants.TrackedObjects, asm: Unity.Localization} data: @@ -853,11 +744,8 @@ MonoBehaviour: m_TrackedProperties: items: - rid: 7692319749147983908 - - rid: 7692319749147983909 - rid: 7692319749147983910 - - rid: 7692319749147983911 - rid: 7692319749147983912 - - rid: 7692319749147983913 m_UpdateType: 0 - rid: 7692319749147983908 type: {class: StringTrackedProperty, ns: UnityEngine.Localization.PropertyVariants.TrackedProperties, asm: Unity.Localization} @@ -866,21 +754,10 @@ MonoBehaviour: m_VariantData: - localeIdentifier: m_Code: de - value: New Text + value: + - localeIdentifier: m_Code: en value: + - - rid: 7692319749147983909 - type: {class: FloatTrackedProperty, ns: UnityEngine.Localization.PropertyVariants.TrackedProperties, asm: Unity.Localization} - data: - m_PropertyPath: m_fontSize - m_VariantData: - - localeIdentifier: - m_Code: de - value: 36 - - localeIdentifier: - m_Code: en - value: 72 - rid: 7692319749147983910 type: {class: FloatTrackedProperty, ns: UnityEngine.Localization.PropertyVariants.TrackedProperties, asm: Unity.Localization} data: @@ -888,21 +765,10 @@ MonoBehaviour: m_VariantData: - localeIdentifier: m_Code: de - value: 36 + value: 72 - localeIdentifier: m_Code: en value: 72 - - rid: 7692319749147983911 - type: {class: BoolTrackedProperty, ns: UnityEngine.Localization.PropertyVariants.TrackedProperties, asm: Unity.Localization} - data: - m_PropertyPath: m_enableAutoSizing - m_VariantData: - - localeIdentifier: - m_Code: de - value: 0 - - localeIdentifier: - m_Code: en - value: 0 - rid: 7692319749147983912 type: {class: EnumTrackedProperty, ns: UnityEngine.Localization.PropertyVariants.TrackedProperties, asm: Unity.Localization} data: @@ -910,21 +776,10 @@ MonoBehaviour: m_VariantData: - localeIdentifier: m_Code: de - value: 1 + value: 2 - localeIdentifier: m_Code: en value: 2 - - rid: 7692319749147983913 - type: {class: EnumTrackedProperty, ns: UnityEngine.Localization.PropertyVariants.TrackedProperties, asm: Unity.Localization} - data: - m_PropertyPath: m_VerticalAlignment - m_VariantData: - - localeIdentifier: - m_Code: de - value: 256 - - localeIdentifier: - m_Code: en - value: 512 --- !u!114 &2004665057 MonoBehaviour: m_ObjectHideFlags: 0 @@ -972,7 +827,7 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 36 + m_fontSize: 72 m_fontSizeBase: 36 m_fontWeight: 400 m_enableAutoSizing: 0 @@ -980,7 +835,7 @@ MonoBehaviour: m_fontSizeMax: 72 m_fontStyle: 0 m_HorizontalAlignment: 1 - m_VerticalAlignment: 256 + m_VerticalAlignment: 512 m_textAlignment: 65535 m_characterSpacing: 0 m_wordSpacing: 0 @@ -1027,6 +882,6 @@ SceneRoots: m_ObjectHideFlags: 0 m_Roots: - {fileID: 1378457839} - - {fileID: 402627791} - {fileID: 1322220917} - {fileID: 1536204584} + - {fileID: 120760922} diff --git a/Assets/Scripts/Controls.cs b/Assets/Scripts/Controls.cs index ad0eae8..1c57951 100644 --- a/Assets/Scripts/Controls.cs +++ b/Assets/Scripts/Controls.cs @@ -11,9 +11,11 @@ public class Controls : MonoBehaviour { public float MOVEMENTSPEED = 10f; public float SENSITIVITY = 10f; - public Vector2 movement; - public Vector2 rotation; - public bool isAirborne; + Vector2 movement; + Vector2 rotation; + bool isAirborne; + bool isJumping; + Vector3 lastDirection; // Start is called before the first frame update void Start() @@ -21,6 +23,8 @@ public class Controls : MonoBehaviour movement = new Vector2(); rotation = new Vector2(); isAirborne = true; + isJumping = false; + lastDirection = new Vector3(); } // Update is called once per frame @@ -37,6 +41,7 @@ public class Controls : MonoBehaviour else{ GameObject.Find("Crosshair").transform.localScale = new Vector3(0,0,0); } + } private void applyInput(){ @@ -48,11 +53,14 @@ public class Controls : MonoBehaviour Vector3 lookDirection = new Vector3(0, rotation.x, 0) * Time.deltaTime * SENSITIVITY; gameObject.transform.Rotate(lookDirection); - if(isAirborne) return; - - //Move Player object according to input and after rotation - Vector3 direction = new Vector3(movement.x, 0, movement.y) * Time.deltaTime * MOVEMENTSPEED; - gameObject.transform.Translate(direction); + if(isAirborne){ + gameObject.transform.Translate(lastDirection); + } + else{ + Vector3 direction = new Vector3(movement.x, isJumping ? 0.5f : 0, movement.y) * Time.deltaTime * MOVEMENTSPEED; + gameObject.transform.Translate(direction); + lastDirection = direction; + } } void OnMove(InputValue direction){ @@ -75,15 +83,21 @@ public class Controls : MonoBehaviour void OnCollisionEnter(Collision col){ if(!isAirborne) return; - if(col.gameObject.name.ToLower().Contains("plattform")){ + if(col.gameObject.name.ToLower().Contains("tile")){ isAirborne = false; + isJumping = false; } } void OnCollisionExit(Collision col){ if(isAirborne) return; - if(col.gameObject.name.ToLower().Contains("plattform")){ + if(col.gameObject.name.ToLower().Contains("tile")){ isAirborne = true; } } + + void OnJump(){ + if(isAirborne) return; + isJumping = true; + } } diff --git a/Assets/Scripts/Tile.cs b/Assets/Scripts/Tile.cs new file mode 100644 index 0000000..5ae1812 --- /dev/null +++ b/Assets/Scripts/Tile.cs @@ -0,0 +1,23 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class Tile : MonoBehaviour +{ + public GameObject player; + + public float HIGHEST_POINT; + public float LOWEST_POINT; + public TileModifier MODIFIER; + // Start is called before the first frame update + void Start() + { + player = GameObject.Find("Player"); + } + + // Update is called once per frame + void Update() + { + + } +} diff --git a/Assets/Scripts/Tile.cs.meta b/Assets/Scripts/Tile.cs.meta new file mode 100644 index 0000000..2f47692 --- /dev/null +++ b/Assets/Scripts/Tile.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a4ad100ae18006c438490a7509944332 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/TileModifier.cs b/Assets/Scripts/TileModifier.cs new file mode 100644 index 0000000..9218662 --- /dev/null +++ b/Assets/Scripts/TileModifier.cs @@ -0,0 +1,13 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public enum TileModifier +{ + FLAT, + MOUNTAIN, + LAKE, + HILLS, + RIVER, + VALLEY +} diff --git a/Assets/Scripts/TileModifier.cs.meta b/Assets/Scripts/TileModifier.cs.meta new file mode 100644 index 0000000..27f051e --- /dev/null +++ b/Assets/Scripts/TileModifier.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: ab6908fc67056662e8c1fba0a1b19320 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/WorldGenerator.cs b/Assets/Scripts/WorldGenerator.cs index 39b2e6d..0bc4a87 100644 --- a/Assets/Scripts/WorldGenerator.cs +++ b/Assets/Scripts/WorldGenerator.cs @@ -1,13 +1,18 @@ +using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class WorldGenerator : MonoBehaviour { + public List availableTiles; + Dictionary world; + int SIZE = 10; // Start is called before the first frame update void Start() { - + world = new Dictionary(); + generateWorld(); } // Update is called once per frame @@ -15,4 +20,16 @@ public class WorldGenerator : MonoBehaviour { } + + void generateWorld(){ + Vector3 position; + GameObject tile; + for(int i = 0; i < SIZE; i++){ + for(int j = 0; j < SIZE; j++){ + position = new Vector3(i, 0, j); + tile = Instantiate(availableTiles[0], position * 100, Quaternion.identity); + world.Add(position, tile); + } + } + } } diff --git a/Assets/actionmap.inputactions b/Assets/actionmap.inputactions index 9007f24..2b09d7c 100644 --- a/Assets/actionmap.inputactions +++ b/Assets/actionmap.inputactions @@ -31,6 +31,15 @@ "processors": "", "interactions": "", "initialStateCheck": false + }, + { + "name": "Jump", + "type": "Button", + "id": "90b30bd7-1fed-482e-890a-aa95581180cc", + "expectedControlType": "Button", + "processors": "", + "interactions": "", + "initialStateCheck": false } ], "bindings": [ @@ -253,6 +262,28 @@ "action": "Fire", "isComposite": false, "isPartOfComposite": false + }, + { + "name": "", + "id": "d17d9e03-920b-43ed-a90e-15670c194c4f", + "path": "/space", + "interactions": "", + "processors": "", + "groups": "Keyboard&Mouse", + "action": "Jump", + "isComposite": false, + "isPartOfComposite": false + }, + { + "name": "", + "id": "80896525-9471-4f16-afc1-7ae8a07aadaf", + "path": "/buttonSouth", + "interactions": "", + "processors": "", + "groups": "Gamepad", + "action": "Jump", + "isComposite": false, + "isPartOfComposite": false } ] }, diff --git a/Assets/localization.asset b/Assets/localization.asset index 9333b7c..07f0919 100644 --- a/Assets/localization.asset +++ b/Assets/localization.asset @@ -44,7 +44,7 @@ MonoBehaviour: type: {class: SpecificLocaleSelector, ns: UnityEngine.Localization.Settings, asm: Unity.Localization} data: m_LocaleId: - m_Code: en + m_Code: de - rid: 7692319749115478019 type: {class: LocalesProvider, ns: UnityEngine.Localization.Settings, asm: Unity.Localization} data: diff --git a/UserSettings/Layouts/default-2022.dwlt b/UserSettings/Layouts/default-2022.dwlt index 94701c7..94dac33 100644 --- a/UserSettings/Layouts/default-2022.dwlt +++ b/UserSettings/Layouts/default-2022.dwlt @@ -1,6 +1,30 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: --- !u!114 &1 +MonoBehaviour: + m_ObjectHideFlags: 52 + 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: 12004, guid: 0000000000000000e000000000000000, type: 0} + m_Name: + m_EditorClassIdentifier: + m_PixelRect: + serializedVersion: 2 + x: 4207 + y: 202 + width: 967 + height: 591 + m_ShowMode: 0 + m_Title: actionmap (Input Actions) + m_RootView: {fileID: 4} + m_MinSize: {x: 600, y: 321} + m_MaxSize: {x: 4000, y: 4021} + m_Maximized: 0 +--- !u!114 &2 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -19,12 +43,63 @@ MonoBehaviour: width: 1920 height: 1020 m_ShowMode: 4 - m_Title: Project - m_RootView: {fileID: 2} + m_Title: Game + m_RootView: {fileID: 5} m_MinSize: {x: 875, y: 300} m_MaxSize: {x: 10000, y: 10000} m_Maximized: 0 ---- !u!114 &2 +--- !u!114 &3 +MonoBehaviour: + m_ObjectHideFlags: 52 + 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: 12006, guid: 0000000000000000e000000000000000, type: 0} + m_Name: InputActionEditorWindow + m_EditorClassIdentifier: + m_Children: [] + m_Position: + serializedVersion: 2 + x: 0 + y: 0 + width: 967 + height: 591 + m_MinSize: {x: 600, y: 321} + m_MaxSize: {x: 4000, y: 4021} + m_ActualView: {fileID: 16} + m_Panes: + - {fileID: 16} + m_Selected: 0 + m_LastSelected: 0 +--- !u!114 &4 +MonoBehaviour: + m_ObjectHideFlags: 52 + 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: 12010, guid: 0000000000000000e000000000000000, type: 0} + m_Name: + m_EditorClassIdentifier: + m_Children: + - {fileID: 3} + m_Position: + serializedVersion: 2 + x: 0 + y: 0 + width: 967 + height: 591 + m_MinSize: {x: 600, y: 321} + m_MaxSize: {x: 4000, y: 4021} + vertical: 0 + controlID: 2409 + draggingID: 0 +--- !u!114 &5 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -37,9 +112,9 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Children: - - {fileID: 3} - - {fileID: 5} - - {fileID: 4} + - {fileID: 6} + - {fileID: 8} + - {fileID: 7} m_Position: serializedVersion: 2 x: 0 @@ -52,7 +127,7 @@ MonoBehaviour: m_TopViewHeight: 30 m_UseBottomView: 1 m_BottomViewHeight: 20 ---- !u!114 &3 +--- !u!114 &6 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -74,7 +149,7 @@ MonoBehaviour: m_MinSize: {x: 0, y: 0} m_MaxSize: {x: 0, y: 0} m_LastLoadedLayoutName: ---- !u!114 &4 +--- !u!114 &7 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -95,7 +170,7 @@ MonoBehaviour: height: 20 m_MinSize: {x: 0, y: 0} m_MaxSize: {x: 0, y: 0} ---- !u!114 &5 +--- !u!114 &8 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -108,7 +183,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Children: - - {fileID: 6} + - {fileID: 9} m_Position: serializedVersion: 2 x: 0 @@ -118,9 +193,9 @@ MonoBehaviour: m_MinSize: {x: 300, y: 100} m_MaxSize: {x: 24288, y: 16192} vertical: 1 - controlID: 45 + controlID: 314 draggingID: 0 ---- !u!114 &6 +--- !u!114 &9 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -133,8 +208,8 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Children: - - {fileID: 7} - - {fileID: 12} + - {fileID: 10} + - {fileID: 15} m_Position: serializedVersion: 2 x: 0 @@ -144,9 +219,9 @@ MonoBehaviour: m_MinSize: {x: 300, y: 100} m_MaxSize: {x: 24288, y: 16192} vertical: 0 - controlID: 46 + controlID: 315 draggingID: 0 ---- !u!114 &7 +--- !u!114 &10 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -159,8 +234,8 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Children: - - {fileID: 8} - {fileID: 11} + - {fileID: 14} m_Position: serializedVersion: 2 x: 0 @@ -170,9 +245,9 @@ MonoBehaviour: m_MinSize: {x: 200, y: 100} m_MaxSize: {x: 16192, y: 16192} vertical: 1 - controlID: 47 + controlID: 316 draggingID: 0 ---- !u!114 &8 +--- !u!114 &11 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -185,8 +260,8 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Children: - - {fileID: 9} - - {fileID: 10} + - {fileID: 12} + - {fileID: 13} m_Position: serializedVersion: 2 x: 0 @@ -196,9 +271,9 @@ MonoBehaviour: m_MinSize: {x: 200, y: 50} m_MaxSize: {x: 16192, y: 8096} vertical: 0 - controlID: 40 + controlID: 317 draggingID: 0 ---- !u!114 &9 +--- !u!114 &12 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -219,12 +294,12 @@ MonoBehaviour: height: 727 m_MinSize: {x: 201, y: 221} m_MaxSize: {x: 4001, y: 4021} - m_ActualView: {fileID: 14} + m_ActualView: {fileID: 18} m_Panes: - - {fileID: 14} + - {fileID: 18} m_Selected: 0 m_LastSelected: 0 ---- !u!114 &10 +--- !u!114 &13 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -234,7 +309,7 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 1 m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0} - m_Name: LocalizationTablesWindow + m_Name: GameView m_EditorClassIdentifier: m_Children: [] m_Position: @@ -243,18 +318,18 @@ MonoBehaviour: y: 0 width: 1358 height: 727 - m_MinSize: {x: 902, y: 621} + m_MinSize: {x: 102, y: 121} m_MaxSize: {x: 4002, y: 4021} - m_ActualView: {fileID: 17} + m_ActualView: {fileID: 22} m_Panes: - - {fileID: 13} - - {fileID: 15} - - {fileID: 16} - {fileID: 17} - - {fileID: 18} - m_Selected: 3 - m_LastSelected: 2 ---- !u!114 &11 + - {fileID: 19} + - {fileID: 20} + - {fileID: 21} + - {fileID: 22} + m_Selected: 4 + m_LastSelected: 0 +--- !u!114 &14 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -264,7 +339,7 @@ MonoBehaviour: m_Enabled: 1 m_EditorHideFlags: 1 m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0} - m_Name: ProjectBrowser + m_Name: ConsoleWindow m_EditorClassIdentifier: m_Children: [] m_Position: @@ -273,15 +348,15 @@ MonoBehaviour: y: 727 width: 1644 height: 243 - m_MinSize: {x: 231, y: 271} - m_MaxSize: {x: 10001, y: 10021} - m_ActualView: {fileID: 19} + m_MinSize: {x: 101, y: 121} + m_MaxSize: {x: 4001, y: 4021} + m_ActualView: {fileID: 24} m_Panes: - - {fileID: 19} - - {fileID: 20} - m_Selected: 0 - m_LastSelected: 1 ---- !u!114 &12 + - {fileID: 23} + - {fileID: 24} + m_Selected: 1 + m_LastSelected: 0 +--- !u!114 &15 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -300,14 +375,535 @@ MonoBehaviour: y: 0 width: 276 height: 970 - m_MinSize: {x: 276, y: 71} - m_MaxSize: {x: 4001, y: 4021} - m_ActualView: {fileID: 21} + m_MinSize: {x: 275, y: 50} + m_MaxSize: {x: 4000, y: 4000} + m_ActualView: {fileID: 25} m_Panes: - - {fileID: 21} + - {fileID: 25} m_Selected: 0 m_LastSelected: 0 ---- !u!114 &13 +--- !u!114 &16 +MonoBehaviour: + m_ObjectHideFlags: 52 + 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: eb55afc2c109f42f2af37941a8c9300e, type: 3} + m_Name: + m_EditorClassIdentifier: + m_MinSize: {x: 600, y: 300} + m_MaxSize: {x: 4000, y: 4000} + m_TitleContent: + m_Text: actionmap (Input Actions) + m_Image: {fileID: 0} + m_Tooltip: + m_Pos: + serializedVersion: 2 + x: 4207 + y: 202 + width: 967 + height: 570 + m_SerializedDataModeController: + m_DataMode: 0 + m_PreferredDataMode: 0 + m_SupportedDataModes: + isAutomatic: 1 + m_ViewDataDictionary: {fileID: 0} + m_OverlayCanvas: + m_LastAppliedPresetName: Default + m_SaveData: [] + m_OverlaysVisible: 1 + m_ActionMapsTreeState: + scrollPos: {x: 0, y: 0} + m_SelectedIDs: 5b28419f + m_LastClickedID: -1623119781 + m_ExpandedIDs: 00000000 + m_RenameOverlay: + m_UserAcceptedRename: 0 + m_Name: + m_OriginalName: + m_EditFieldRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 0 + height: 0 + m_UserData: 0 + m_IsWaitingForDelay: 0 + m_IsRenaming: 0 + m_OriginalEventType: 11 + m_IsRenamingFilename: 0 + m_ClientGUIView: {fileID: 0} + m_SearchString: + m_ActionsTreeState: + scrollPos: {x: 0, y: 0} + m_SelectedIDs: fc894773 + m_LastClickedID: 1934068220 + m_ExpandedIDs: 91ab808c2624f7bdfc894773 + m_RenameOverlay: + m_UserAcceptedRename: 0 + m_Name: + m_OriginalName: + m_EditFieldRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 0 + height: 0 + m_UserData: 0 + m_IsWaitingForDelay: 0 + m_IsRenaming: 0 + m_OriginalEventType: 11 + m_IsRenamingFilename: 0 + m_ClientGUIView: {fileID: 0} + m_SearchString: + m_ControlPickerViewState: + m_AdvancedDropdownState: + states: [] + m_ManualPathEditMode: 0 + m_ActionAssetManager: + m_AssetObjectForEditing: {fileID: 0} + m_ImportedAssetObject: {fileID: -944628639613478452, guid: 39200aed4c4ec6b85bbcabeb91c3ec79, type: 3} + m_AssetGUID: 39200aed4c4ec6b85bbcabeb91c3ec79 + m_ImportedAssetJson: "{\n \"name\": \"actionmap\",\n \"maps\": [\n + {\n \"name\": \"Player\",\n \"id\": \"9bf6e574-f419-4ffb-807e-39fdb64775b6\",\n + \"actions\": [\n {\n \"name\": \"Move\",\n + \"type\": \"Value\",\n \"id\": \"9a559dd9-ee2c-42d7-8cc2-a6755f95d310\",\n + \"expectedControlType\": \"Vector2\",\n \"processors\": + \"\",\n \"interactions\": \"\",\n \"initialStateCheck\": + true\n },\n {\n \"name\": + \"Look\",\n \"type\": \"Value\",\n \"id\": + \"c2c4540d-0195-4a19-9ae0-7b84931e2680\",\n \"expectedControlType\": + \"Vector2\",\n \"processors\": \"\",\n + \"interactions\": \"\",\n \"initialStateCheck\": true\n + },\n {\n \"name\": \"Fire\",\n + \"type\": \"Button\",\n \"id\": \"1a28861a-2754-4596-96f2-4b9a24dab2b6\",\n + \"expectedControlType\": \"Button\",\n \"processors\": \"\",\n + \"interactions\": \"\",\n \"initialStateCheck\": false\n + }\n ],\n \"bindings\": [\n {\n + \"name\": \"\",\n \"id\": \"978bfe49-cc26-4a3d-ab7b-7d7a29327403\",\n + \"path\": \"/leftStick\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \";Gamepad\",\n + \"action\": \"Move\",\n \"isComposite\": false,\n + \"isPartOfComposite\": false\n },\n {\n + \"name\": \"WASD\",\n \"id\": \"00ca640b-d935-4593-8157-c05846ea39b3\",\n + \"path\": \"Dpad\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \"\",\n + \"action\": \"Move\",\n \"isComposite\": true,\n + \"isPartOfComposite\": false\n },\n {\n + \"name\": \"up\",\n \"id\": \"e2062cb9-1b15-46a2-838c-2f8d72a0bdd9\",\n + \"path\": \"/w\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \";Keyboard&Mouse\",\n + \"action\": \"Move\",\n \"isComposite\": false,\n + \"isPartOfComposite\": true\n },\n {\n + \"name\": \"up\",\n \"id\": \"8180e8bd-4097-4f4e-ab88-4523101a6ce9\",\n + \"path\": \"/upArrow\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \";Keyboard&Mouse\",\n + \"action\": \"Move\",\n \"isComposite\": false,\n + \"isPartOfComposite\": true\n },\n {\n + \"name\": \"down\",\n \"id\": \"320bffee-a40b-4347-ac70-c210eb8bc73a\",\n + \"path\": \"/s\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \";Keyboard&Mouse\",\n + \"action\": \"Move\",\n \"isComposite\": false,\n + \"isPartOfComposite\": true\n },\n {\n + \"name\": \"down\",\n \"id\": \"1c5327b5-f71c-4f60-99c7-4e737386f1d1\",\n + \"path\": \"/downArrow\",\n \"interactions\": + \"\",\n \"processors\": \"\",\n \"groups\": + \";Keyboard&Mouse\",\n \"action\": \"Move\",\n + \"isComposite\": false,\n \"isPartOfComposite\": true\n + },\n {\n \"name\": \"left\",\n + \"id\": \"d2581a9b-1d11-4566-b27d-b92aff5fabbc\",\n \"path\": + \"/a\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \";Keyboard&Mouse\",\n + \"action\": \"Move\",\n \"isComposite\": false,\n + \"isPartOfComposite\": true\n },\n {\n + \"name\": \"left\",\n \"id\": \"2e46982e-44cc-431b-9f0b-c11910bf467a\",\n + \"path\": \"/leftArrow\",\n \"interactions\": + \"\",\n \"processors\": \"\",\n \"groups\": + \";Keyboard&Mouse\",\n \"action\": \"Move\",\n + \"isComposite\": false,\n \"isPartOfComposite\": true\n + },\n {\n \"name\": \"right\",\n + \"id\": \"fcfe95b8-67b9-4526-84b5-5d0bc98d6400\",\n \"path\": + \"/d\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \";Keyboard&Mouse\",\n + \"action\": \"Move\",\n \"isComposite\": false,\n + \"isPartOfComposite\": true\n },\n {\n + \"name\": \"right\",\n \"id\": \"77bff152-3580-4b21-b6de-dcd0c7e41164\",\n + \"path\": \"/rightArrow\",\n \"interactions\": + \"\",\n \"processors\": \"\",\n \"groups\": + \";Keyboard&Mouse\",\n \"action\": \"Move\",\n + \"isComposite\": false,\n \"isPartOfComposite\": true\n + },\n {\n \"name\": \"\",\n + \"id\": \"1635d3fe-58b6-4ba9-a4e2-f4b964f6b5c8\",\n \"path\": + \"/{Primary2DAxis}\",\n \"interactions\": + \"\",\n \"processors\": \"\",\n \"groups\": + \"XR\",\n \"action\": \"Move\",\n \"isComposite\": + false,\n \"isPartOfComposite\": false\n },\n + {\n \"name\": \"\",\n \"id\": \"3ea4d645-4504-4529-b061-ab81934c3752\",\n + \"path\": \"/stick\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \"Joystick\",\n + \"action\": \"Move\",\n \"isComposite\": false,\n + \"isPartOfComposite\": false\n },\n {\n + \"name\": \"\",\n \"id\": \"c1f7a91b-d0fd-4a62-997e-7fb9b69bf235\",\n + \"path\": \"/rightStick\",\n \"interactions\": + \"\",\n \"processors\": \"\",\n \"groups\": + \";Gamepad\",\n \"action\": \"Look\",\n + \"isComposite\": false,\n \"isPartOfComposite\": false\n + },\n {\n \"name\": \"\",\n + \"id\": \"8c8e490b-c610-4785-884f-f04217b23ca4\",\n \"path\": + \"/delta\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \";Keyboard&Mouse;Touch\",\n + \"action\": \"Look\",\n \"isComposite\": false,\n + \"isPartOfComposite\": false\n },\n {\n + \"name\": \"\",\n \"id\": \"3e5f5442-8668-4b27-a940-df99bad7e831\",\n + \"path\": \"/{Hatswitch}\",\n \"interactions\": + \"\",\n \"processors\": \"\",\n \"groups\": + \"Joystick\",\n \"action\": \"Look\",\n + \"isComposite\": false,\n \"isPartOfComposite\": false\n + },\n {\n \"name\": \"\",\n + \"id\": \"143bb1cd-cc10-4eca-a2f0-a3664166fe91\",\n \"path\": + \"/rightTrigger\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \";Gamepad\",\n + \"action\": \"Fire\",\n \"isComposite\": false,\n + \"isPartOfComposite\": false\n },\n {\n + \"name\": \"\",\n \"id\": \"05f6913d-c316-48b2-a6bb-e225f14c7960\",\n + \"path\": \"/leftButton\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \";Keyboard&Mouse\",\n + \"action\": \"Fire\",\n \"isComposite\": false,\n + \"isPartOfComposite\": false\n },\n {\n + \"name\": \"\",\n \"id\": \"886e731e-7071-4ae4-95c0-e61739dad6fd\",\n + \"path\": \"/primaryTouch/tap\",\n \"interactions\": + \"\",\n \"processors\": \"\",\n \"groups\": + \";Touch\",\n \"action\": \"Fire\",\n + \"isComposite\": false,\n \"isPartOfComposite\": false\n + },\n {\n \"name\": \"\",\n + \"id\": \"ee3d0cd2-254e-47a7-a8cb-bc94d9658c54\",\n \"path\": + \"/trigger\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \"Joystick\",\n + \"action\": \"Fire\",\n \"isComposite\": false,\n + \"isPartOfComposite\": false\n },\n {\n + \"name\": \"\",\n \"id\": \"8255d333-5683-4943-a58a-ccb207ff1dce\",\n + \"path\": \"/{PrimaryAction}\",\n \"interactions\": + \"\",\n \"processors\": \"\",\n \"groups\": + \"XR\",\n \"action\": \"Fire\",\n \"isComposite\": + false,\n \"isPartOfComposite\": false\n }\n + ]\n },\n {\n \"name\": \"UI\",\n \"id\": + \"2b31f171-17a9-4779-ac78-b76abee94f83\",\n \"actions\": [\n + {\n \"name\": \"Navigate\",\n \"type\": + \"PassThrough\",\n \"id\": \"2d88f166-0a92-4877-9e1d-3612a698a0ad\",\n + \"expectedControlType\": \"Vector2\",\n \"processors\": + \"\",\n \"interactions\": \"\",\n \"initialStateCheck\": + false\n },\n {\n \"name\": + \"Submit\",\n \"type\": \"Button\",\n + \"id\": \"18467c4d-90e3-40a4-89f2-013659e7bfb9\",\n \"expectedControlType\": + \"Button\",\n \"processors\": \"\",\n + \"interactions\": \"\",\n \"initialStateCheck\": false\n + },\n {\n \"name\": \"Cancel\",\n + \"type\": \"Button\",\n \"id\": \"bca9c36f-17c9-49d8-bbfe-c50080a6bab0\",\n + \"expectedControlType\": \"Button\",\n \"processors\": \"\",\n + \"interactions\": \"\",\n \"initialStateCheck\": false\n + },\n {\n \"name\": \"Point\",\n + \"type\": \"PassThrough\",\n \"id\": \"fa5d0214-1e06-4c54-b132-03a67934778d\",\n + \"expectedControlType\": \"Vector2\",\n \"processors\": + \"\",\n \"interactions\": \"\",\n \"initialStateCheck\": + true\n },\n {\n \"name\": + \"Click\",\n \"type\": \"PassThrough\",\n + \"id\": \"860a0901-821f-4805-9ce5-8516c05065d7\",\n \"expectedControlType\": + \"Button\",\n \"processors\": \"\",\n + \"interactions\": \"\",\n \"initialStateCheck\": true\n + },\n {\n \"name\": \"ScrollWheel\",\n + \"type\": \"PassThrough\",\n \"id\": \"1e36142b-fc5f-4195-87af-9ef560b16682\",\n + \"expectedControlType\": \"Vector2\",\n \"processors\": + \"\",\n \"interactions\": \"\",\n \"initialStateCheck\": + false\n },\n {\n \"name\": + \"MiddleClick\",\n \"type\": \"PassThrough\",\n + \"id\": \"a0f29360-cbe9-415e-9857-1ed8aba50f61\",\n \"expectedControlType\": + \"Button\",\n \"processors\": \"\",\n + \"interactions\": \"\",\n \"initialStateCheck\": false\n + },\n {\n \"name\": \"RightClick\",\n + \"type\": \"PassThrough\",\n \"id\": \"c83c3ac1-5a67-4b8e-9fec-08aba71f9a5f\",\n + \"expectedControlType\": \"Button\",\n \"processors\": \"\",\n + \"interactions\": \"\",\n \"initialStateCheck\": false\n + },\n {\n \"name\": \"TrackedDevicePosition\",\n + \"type\": \"PassThrough\",\n \"id\": \"fffbe2be-b7ef-4cae-990b-e63cbe56af5d\",\n + \"expectedControlType\": \"Vector3\",\n \"processors\": + \"\",\n \"interactions\": \"\",\n \"initialStateCheck\": + false\n },\n {\n \"name\": + \"TrackedDeviceOrientation\",\n \"type\": \"PassThrough\",\n + \"id\": \"4a0e5b68-5f35-4ce0-af47-f157130c7c42\",\n \"expectedControlType\": + \"Quaternion\",\n \"processors\": \"\",\n + \"interactions\": \"\",\n \"initialStateCheck\": false\n + }\n ],\n \"bindings\": [\n {\n + \"name\": \"Gamepad\",\n \"id\": \"809f371f-c5e2-4e7a-83a1-d867598f40dd\",\n + \"path\": \"2DVector\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \"\",\n + \"action\": \"Navigate\",\n \"isComposite\": true,\n + \"isPartOfComposite\": false\n },\n {\n + \"name\": \"up\",\n \"id\": \"14a5d6e8-4aaf-4119-a9ef-34b8c2c548bf\",\n + \"path\": \"/leftStick/up\",\n \"interactions\": + \"\",\n \"processors\": \"\",\n \"groups\": + \";Gamepad\",\n \"action\": \"Navigate\",\n + \"isComposite\": false,\n \"isPartOfComposite\": true\n + },\n {\n \"name\": \"up\",\n + \"id\": \"9144cbe6-05e1-4687-a6d7-24f99d23dd81\",\n \"path\": + \"/rightStick/up\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \";Gamepad\",\n + \"action\": \"Navigate\",\n \"isComposite\": false,\n + \"isPartOfComposite\": true\n },\n {\n + \"name\": \"down\",\n \"id\": \"2db08d65-c5fb-421b-983f-c71163608d67\",\n + \"path\": \"/leftStick/down\",\n \"interactions\": + \"\",\n \"processors\": \"\",\n \"groups\": + \";Gamepad\",\n \"action\": \"Navigate\",\n + \"isComposite\": false,\n \"isPartOfComposite\": true\n + },\n {\n \"name\": \"down\",\n + \"id\": \"58748904-2ea9-4a80-8579-b500e6a76df8\",\n \"path\": + \"/rightStick/down\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \";Gamepad\",\n + \"action\": \"Navigate\",\n \"isComposite\": false,\n + \"isPartOfComposite\": true\n },\n {\n + \"name\": \"left\",\n \"id\": \"8ba04515-75aa-45de-966d-393d9bbd1c14\",\n + \"path\": \"/leftStick/left\",\n \"interactions\": + \"\",\n \"processors\": \"\",\n \"groups\": + \";Gamepad\",\n \"action\": \"Navigate\",\n + \"isComposite\": false,\n \"isPartOfComposite\": true\n + },\n {\n \"name\": \"left\",\n + \"id\": \"712e721c-bdfb-4b23-a86c-a0d9fcfea921\",\n \"path\": + \"/rightStick/left\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \";Gamepad\",\n + \"action\": \"Navigate\",\n \"isComposite\": false,\n + \"isPartOfComposite\": true\n },\n {\n + \"name\": \"right\",\n \"id\": \"fcd248ae-a788-4676-a12e-f4d81205600b\",\n + \"path\": \"/leftStick/right\",\n \"interactions\": + \"\",\n \"processors\": \"\",\n \"groups\": + \";Gamepad\",\n \"action\": \"Navigate\",\n + \"isComposite\": false,\n \"isPartOfComposite\": true\n + },\n {\n \"name\": \"right\",\n + \"id\": \"1f04d9bc-c50b-41a1-bfcc-afb75475ec20\",\n \"path\": + \"/rightStick/right\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \";Gamepad\",\n + \"action\": \"Navigate\",\n \"isComposite\": false,\n + \"isPartOfComposite\": true\n },\n {\n + \"name\": \"\",\n \"id\": \"fb8277d4-c5cd-4663-9dc7-ee3f0b506d90\",\n + \"path\": \"/dpad\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \";Gamepad\",\n + \"action\": \"Navigate\",\n \"isComposite\": false,\n + \"isPartOfComposite\": false\n },\n {\n + \"name\": \"Joystick\",\n \"id\": \"e25d9774-381c-4a61-b47c-7b6b299ad9f9\",\n + \"path\": \"2DVector\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \"\",\n + \"action\": \"Navigate\",\n \"isComposite\": true,\n + \"isPartOfComposite\": false\n },\n {\n + \"name\": \"up\",\n \"id\": \"3db53b26-6601-41be-9887-63ac74e79d19\",\n + \"path\": \"/stick/up\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \"Joystick\",\n + \"action\": \"Navigate\",\n \"isComposite\": false,\n + \"isPartOfComposite\": true\n },\n {\n + \"name\": \"down\",\n \"id\": \"0cb3e13e-3d90-4178-8ae6-d9c5501d653f\",\n + \"path\": \"/stick/down\",\n \"interactions\": + \"\",\n \"processors\": \"\",\n \"groups\": + \"Joystick\",\n \"action\": \"Navigate\",\n + \"isComposite\": false,\n \"isPartOfComposite\": true\n + },\n {\n \"name\": \"left\",\n + \"id\": \"0392d399-f6dd-4c82-8062-c1e9c0d34835\",\n \"path\": + \"/stick/left\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \"Joystick\",\n + \"action\": \"Navigate\",\n \"isComposite\": false,\n + \"isPartOfComposite\": true\n },\n {\n + \"name\": \"right\",\n \"id\": \"942a66d9-d42f-43d6-8d70-ecb4ba5363bc\",\n + \"path\": \"/stick/right\",\n \"interactions\": + \"\",\n \"processors\": \"\",\n \"groups\": + \"Joystick\",\n \"action\": \"Navigate\",\n + \"isComposite\": false,\n \"isPartOfComposite\": true\n + },\n {\n \"name\": \"Keyboard\",\n + \"id\": \"ff527021-f211-4c02-933e-5976594c46ed\",\n \"path\": + \"2DVector\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \"\",\n + \"action\": \"Navigate\",\n \"isComposite\": true,\n + \"isPartOfComposite\": false\n },\n {\n + \"name\": \"up\",\n \"id\": \"563fbfdd-0f09-408d-aa75-8642c4f08ef0\",\n + \"path\": \"/w\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \"Keyboard&Mouse\",\n + \"action\": \"Navigate\",\n \"isComposite\": false,\n + \"isPartOfComposite\": true\n },\n {\n + \"name\": \"up\",\n \"id\": \"eb480147-c587-4a33-85ed-eb0ab9942c43\",\n + \"path\": \"/upArrow\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \"Keyboard&Mouse\",\n + \"action\": \"Navigate\",\n \"isComposite\": false,\n + \"isPartOfComposite\": true\n },\n {\n + \"name\": \"down\",\n \"id\": \"2bf42165-60bc-42ca-8072-8c13ab40239b\",\n + \"path\": \"/s\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \"Keyboard&Mouse\",\n + \"action\": \"Navigate\",\n \"isComposite\": false,\n + \"isPartOfComposite\": true\n },\n {\n + \"name\": \"down\",\n \"id\": \"85d264ad-e0a0-4565-b7ff-1a37edde51ac\",\n + \"path\": \"/downArrow\",\n \"interactions\": + \"\",\n \"processors\": \"\",\n \"groups\": + \"Keyboard&Mouse\",\n \"action\": \"Navigate\",\n + \"isComposite\": false,\n \"isPartOfComposite\": true\n + },\n {\n \"name\": \"left\",\n + \"id\": \"74214943-c580-44e4-98eb-ad7eebe17902\",\n \"path\": + \"/a\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \"Keyboard&Mouse\",\n + \"action\": \"Navigate\",\n \"isComposite\": false,\n + \"isPartOfComposite\": true\n },\n {\n + \"name\": \"left\",\n \"id\": \"cea9b045-a000-445b-95b8-0c171af70a3b\",\n + \"path\": \"/leftArrow\",\n \"interactions\": + \"\",\n \"processors\": \"\",\n \"groups\": + \"Keyboard&Mouse\",\n \"action\": \"Navigate\",\n + \"isComposite\": false,\n \"isPartOfComposite\": true\n + },\n {\n \"name\": \"right\",\n + \"id\": \"8607c725-d935-4808-84b1-8354e29bab63\",\n \"path\": + \"/d\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \"Keyboard&Mouse\",\n + \"action\": \"Navigate\",\n \"isComposite\": false,\n + \"isPartOfComposite\": true\n },\n {\n + \"name\": \"right\",\n \"id\": \"4cda81dc-9edd-4e03-9d7c-a71a14345d0b\",\n + \"path\": \"/rightArrow\",\n \"interactions\": + \"\",\n \"processors\": \"\",\n \"groups\": + \"Keyboard&Mouse\",\n \"action\": \"Navigate\",\n + \"isComposite\": false,\n \"isPartOfComposite\": true\n + },\n {\n \"name\": \"\",\n + \"id\": \"9e92bb26-7e3b-4ec4-b06b-3c8f8e498ddc\",\n \"path\": + \"*/{Submit}\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \"Keyboard&Mouse;Gamepad;Touch;Joystick;XR\",\n + \"action\": \"Submit\",\n \"isComposite\": false,\n + \"isPartOfComposite\": false\n },\n {\n + \"name\": \"\",\n \"id\": \"82627dcc-3b13-4ba9-841d-e4b746d6553e\",\n + \"path\": \"*/{Cancel}\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \"Keyboard&Mouse;Gamepad;Touch;Joystick;XR\",\n + \"action\": \"Cancel\",\n \"isComposite\": false,\n + \"isPartOfComposite\": false\n },\n {\n + \"name\": \"\",\n \"id\": \"c52c8e0b-8179-41d3-b8a1-d149033bbe86\",\n + \"path\": \"/position\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \"Keyboard&Mouse\",\n + \"action\": \"Point\",\n \"isComposite\": false,\n + \"isPartOfComposite\": false\n },\n {\n + \"name\": \"\",\n \"id\": \"e1394cbc-336e-44ce-9ea8-6007ed6193f7\",\n + \"path\": \"/position\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \"Keyboard&Mouse\",\n + \"action\": \"Point\",\n \"isComposite\": false,\n + \"isPartOfComposite\": false\n },\n {\n + \"name\": \"\",\n \"id\": \"5693e57a-238a-46ed-b5ae-e64e6e574302\",\n + \"path\": \"/touch*/position\",\n \"interactions\": + \"\",\n \"processors\": \"\",\n \"groups\": + \"Touch\",\n \"action\": \"Point\",\n + \"isComposite\": false,\n \"isPartOfComposite\": false\n + },\n {\n \"name\": \"\",\n + \"id\": \"4faf7dc9-b979-4210-aa8c-e808e1ef89f5\",\n \"path\": + \"/leftButton\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \";Keyboard&Mouse\",\n + \"action\": \"Click\",\n \"isComposite\": false,\n + \"isPartOfComposite\": false\n },\n {\n + \"name\": \"\",\n \"id\": \"8d66d5ba-88d7-48e6-b1cd-198bbfef7ace\",\n + \"path\": \"/tip\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \";Keyboard&Mouse\",\n + \"action\": \"Click\",\n \"isComposite\": false,\n + \"isPartOfComposite\": false\n },\n {\n + \"name\": \"\",\n \"id\": \"47c2a644-3ebc-4dae-a106-589b7ca75b59\",\n + \"path\": \"/touch*/press\",\n \"interactions\": + \"\",\n \"processors\": \"\",\n \"groups\": + \"Touch\",\n \"action\": \"Click\",\n + \"isComposite\": false,\n \"isPartOfComposite\": false\n + },\n {\n \"name\": \"\",\n + \"id\": \"bb9e6b34-44bf-4381-ac63-5aa15d19f677\",\n \"path\": + \"/trigger\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \"XR\",\n + \"action\": \"Click\",\n \"isComposite\": false,\n + \"isPartOfComposite\": false\n },\n {\n + \"name\": \"\",\n \"id\": \"38c99815-14ea-4617-8627-164d27641299\",\n + \"path\": \"/scroll\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \";Keyboard&Mouse\",\n + \"action\": \"ScrollWheel\",\n \"isComposite\": false,\n + \"isPartOfComposite\": false\n },\n {\n + \"name\": \"\",\n \"id\": \"24066f69-da47-44f3-a07e-0015fb02eb2e\",\n + \"path\": \"/middleButton\",\n \"interactions\": + \"\",\n \"processors\": \"\",\n \"groups\": + \";Keyboard&Mouse\",\n \"action\": \"MiddleClick\",\n + \"isComposite\": false,\n \"isPartOfComposite\": false\n + },\n {\n \"name\": \"\",\n + \"id\": \"4c191405-5738-4d4b-a523-c6a301dbf754\",\n \"path\": + \"/rightButton\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \";Keyboard&Mouse\",\n + \"action\": \"RightClick\",\n \"isComposite\": false,\n + \"isPartOfComposite\": false\n },\n {\n + \"name\": \"\",\n \"id\": \"7236c0d9-6ca3-47cf-a6ee-a97f5b59ea77\",\n + \"path\": \"/devicePosition\",\n \"interactions\": + \"\",\n \"processors\": \"\",\n \"groups\": + \"XR\",\n \"action\": \"TrackedDevicePosition\",\n + \"isComposite\": false,\n \"isPartOfComposite\": false\n + },\n {\n \"name\": \"\",\n + \"id\": \"23e01e3a-f935-4948-8d8b-9bcac77714fb\",\n \"path\": + \"/deviceRotation\",\n \"interactions\": \"\",\n + \"processors\": \"\",\n \"groups\": \"XR\",\n + \"action\": \"TrackedDeviceOrientation\",\n \"isComposite\": + false,\n \"isPartOfComposite\": false\n }\n + ]\n }\n ],\n \"controlSchemes\": [\n {\n \"name\": + \"Keyboard&Mouse\",\n \"bindingGroup\": \"Keyboard&Mouse\",\n + \"devices\": [\n {\n \"devicePath\": \"\",\n + \"isOptional\": false,\n \"isOR\": false\n + },\n {\n \"devicePath\": \"\",\n + \"isOptional\": false,\n \"isOR\": false\n + }\n ]\n },\n {\n \"name\": \"Gamepad\",\n + \"bindingGroup\": \"Gamepad\",\n \"devices\": [\n + {\n \"devicePath\": \"\",\n + \"isOptional\": false,\n \"isOR\": false\n + }\n ]\n },\n {\n \"name\": \"Touch\",\n + \"bindingGroup\": \"Touch\",\n \"devices\": [\n {\n + \"devicePath\": \"\",\n \"isOptional\": false,\n + \"isOR\": false\n }\n ]\n },\n {\n + \"name\": \"Joystick\",\n \"bindingGroup\": \"Joystick\",\n + \"devices\": [\n {\n \"devicePath\": \"\",\n + \"isOptional\": false,\n \"isOR\": false\n + }\n ]\n },\n {\n \"name\": \"XR\",\n + \"bindingGroup\": \"XR\",\n \"devices\": [\n {\n + \"devicePath\": \"\",\n \"isOptional\": false,\n + \"isOR\": false\n }\n ]\n }\n ]\n}" + m_IsDirty: 0 + m_Toolbar: + m_IsDirty: 0 + m_SelectedControlSchemeIndex: 0 + m_SelectedDeviceRequirementIndex: -1 + m_ControlSchemes: + - m_Name: Keyboard&Mouse + m_BindingGroup: Keyboard&Mouse + m_DeviceRequirements: + - m_ControlPath: + m_Flags: 0 + - m_ControlPath: + m_Flags: 0 + - m_Name: Gamepad + m_BindingGroup: Gamepad + m_DeviceRequirements: + - m_ControlPath: + m_Flags: 0 + - m_Name: Touch + m_BindingGroup: Touch + m_DeviceRequirements: + - m_ControlPath: + m_Flags: 0 + - m_Name: Joystick + m_BindingGroup: Joystick + m_DeviceRequirements: + - m_ControlPath: + m_Flags: 0 + - m_Name: XR + m_BindingGroup: XR + m_DeviceRequirements: + - m_ControlPath: + m_Flags: 0 + m_SearchText: + m_DirtyTitle: + m_Text: (*) actionmap (Input Actions) + m_Image: {fileID: 0} + m_Tooltip: + m_Title: + m_Text: actionmap (Input Actions) + m_Image: {fileID: 0} + m_Tooltip: +--- !u!114 &17 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -327,10 +923,10 @@ MonoBehaviour: m_Tooltip: m_Pos: serializedVersion: 2 - x: 2206 - y: 122 + x: 286 + y: 90 width: 1356 - height: 682 + height: 706 m_SerializedDataModeController: m_DataMode: 0 m_PreferredDataMode: 0 @@ -689,9 +1285,9 @@ MonoBehaviour: m_PlayAudio: 0 m_AudioPlay: 0 m_Position: - m_Target: {x: 1292.0848, y: 416.75504, z: -322.90186} + m_Target: {x: -594.1156, y: -277.319, z: 742.9614} speed: 2 - m_Value: {x: 1292.0848, y: 416.75504, z: -322.90186} + m_Value: {x: -594.1156, y: -277.319, z: 742.9614} m_RenderMode: 0 m_CameraMode: drawMode: 0 @@ -737,13 +1333,13 @@ MonoBehaviour: m_GridAxis: 1 m_gridOpacity: 0.5 m_Rotation: - m_Target: {x: 0.042149037, y: -0.17012805, z: 0.0051005473, w: 0.98367304} + m_Target: {x: 0.13519861, y: -0.3271233, z: 0.04520923, w: 0.93328255} speed: 2 - m_Value: {x: -0.042149037, y: 0.17012805, z: -0.0051005473, w: -0.983673} + m_Value: {x: 0.13531038, y: -0.32739377, z: 0.045246605, w: 0.93405414} m_Size: - m_Target: 569.94525 + m_Target: 505.26022 speed: 2 - m_Value: 569.94525 + m_Value: 505.26022 m_Ortho: m_Target: 0 speed: 2 @@ -768,7 +1364,7 @@ MonoBehaviour: m_SceneVisActive: 1 m_LastLockedObject: {fileID: 0} m_ViewIsLockedToObject: 0 ---- !u!114 &14 +--- !u!114 &18 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -789,7 +1385,7 @@ MonoBehaviour: m_Pos: serializedVersion: 2 x: 0 - y: 90 + y: 19 width: 285 height: 706 m_SerializedDataModeController: @@ -805,9 +1401,9 @@ MonoBehaviour: m_SceneHierarchy: m_TreeViewState: scrollPos: {x: 0, y: 0} - m_SelectedIDs: 905e0000 - m_LastClickedID: 0 - m_ExpandedIDs: 0efbffff + m_SelectedIDs: 8039ffff + m_LastClickedID: -50816 + m_ExpandedIDs: 6839ffff4ec5ffffc0f5ffffa2f6fffff2f7ffff0efbffff m_RenameOverlay: m_UserAcceptedRename: 0 m_Name: @@ -831,7 +1427,7 @@ MonoBehaviour: m_IsLocked: 0 m_CurrentSortingName: TransformSorting m_WindowGUID: 6f1193b7c6ac3e64ca0e317b16d20212 ---- !u!114 &15 +--- !u!114 &19 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -851,10 +1447,10 @@ MonoBehaviour: m_Tooltip: m_Pos: serializedVersion: 2 - x: 2252 - y: 122 - width: 1288 - height: 640 + x: 286 + y: 90 + width: 1356 + height: 706 m_SerializedDataModeController: m_DataMode: 0 m_PreferredDataMode: 0 @@ -887,7 +1483,7 @@ MonoBehaviour: m_IsRenamingFilename: 0 m_ClientGUIView: {fileID: 0} m_SearchString: ---- !u!114 &16 +--- !u!114 &20 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -957,7 +1553,7 @@ MonoBehaviour: m_CurrentEditor: 0 m_LayerEditor: m_SelectedLayerIndex: 0 ---- !u!114 &17 +--- !u!114 &21 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -991,7 +1587,7 @@ MonoBehaviour: m_LastAppliedPresetName: Default m_SaveData: [] m_OverlaysVisible: 1 ---- !u!114 &18 +--- !u!114 &22 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -1091,7 +1687,7 @@ MonoBehaviour: m_LowResolutionForAspectRatios: 01000000000000000000 m_XRRenderMode: 0 m_RenderTexture: {fileID: 0} ---- !u!114 &19 +--- !u!114 &23 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -1136,7 +1732,7 @@ MonoBehaviour: m_SkipHidden: 0 m_SearchArea: 1 m_Folders: - - Assets + - Assets/Scripts m_Globs: [] m_OriginalText: m_ImportLogFlags: 0 @@ -1144,16 +1740,16 @@ MonoBehaviour: m_ViewMode: 1 m_StartGridSize: 64 m_LastFolders: - - Assets + - Assets/Scripts m_LastFoldersGridSize: -1 m_LastProjectPath: /home/nicola/Schreibtisch/TalesOfNovariel m_LockTracker: m_IsLocked: 0 m_FolderTreeState: - scrollPos: {x: 0, y: 0} - m_SelectedIDs: 905e0000 - m_LastClickedID: 24208 - m_ExpandedIDs: 00000000905e0000925e0000945e0000965e0000985e000000ca9a3b + scrollPos: {x: 0, y: 10} + m_SelectedIDs: e65e0000 + m_LastClickedID: 24294 + m_ExpandedIDs: 00000000945e0000965e0000985e00009a5e00009c5e000000ca9a3b m_RenameOverlay: m_UserAcceptedRename: 0 m_Name: @@ -1169,7 +1765,7 @@ MonoBehaviour: m_IsRenaming: 0 m_OriginalEventType: 11 m_IsRenamingFilename: 1 - m_ClientGUIView: {fileID: 11} + m_ClientGUIView: {fileID: 14} m_SearchString: m_CreateAssetUtility: m_EndAction: {fileID: 0} @@ -1181,7 +1777,7 @@ MonoBehaviour: scrollPos: {x: 0, y: 0} m_SelectedIDs: m_LastClickedID: 0 - m_ExpandedIDs: 00000000905e0000925e0000945e0000965e0000985e0000 + m_ExpandedIDs: 00000000945e0000965e0000985e00009a5e00009c5e000000ca9a3b m_RenameOverlay: m_UserAcceptedRename: 0 m_Name: @@ -1206,8 +1802,8 @@ MonoBehaviour: m_Icon: {fileID: 0} m_ResourceFile: m_ListAreaState: - m_SelectedInstanceIDs: - m_LastClickedInstanceID: 0 + m_SelectedInstanceIDs: 4ec5ffff + m_LastClickedInstanceID: -15026 m_HadKeyboardFocusLastEvent: 1 m_ExpandedInstanceIDs: c6230000d81c070080fe0000287f0100b25b0000005d000000000000 m_RenameOverlay: @@ -1237,7 +1833,7 @@ MonoBehaviour: m_GridSize: 64 m_SkipHiddenPackages: 0 m_DirectoriesAreaWidth: 335 ---- !u!114 &20 +--- !u!114 &24 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0} @@ -1257,10 +1853,10 @@ MonoBehaviour: m_Tooltip: m_Pos: serializedVersion: 2 - x: 1920 - y: 825 - width: 1644 - height: 214 + x: 0 + y: 817 + width: 1643 + height: 222 m_SerializedDataModeController: m_DataMode: 0 m_PreferredDataMode: 0 @@ -1271,7 +1867,7 @@ MonoBehaviour: m_LastAppliedPresetName: Default m_SaveData: [] m_OverlaysVisible: 1 ---- !u!114 &21 +--- !u!114 &25 MonoBehaviour: m_ObjectHideFlags: 52 m_CorrespondingSourceObject: {fileID: 0}