From ed107e928b6a5df7f7a8c2dcb174a4e2fef905a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Wed, 27 Apr 2022 19:16:10 +0200 Subject: [PATCH] test --- Assets/Scenes/SampleScene.unity | 116 +----------------------- ProjectSettings/InputManager.asset | 136 +++++------------------------ 2 files changed, 23 insertions(+), 229 deletions(-) diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/SampleScene.unity index 7506cdd..775a232 100644 --- a/Assets/Scenes/SampleScene.unity +++ b/Assets/Scenes/SampleScene.unity @@ -1393,7 +1393,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: speed: 300 - rotspeed: 30 + rotspeed: 60 --- !u!1 &995085211 GameObject: m_ObjectHideFlags: 0 @@ -1407,7 +1407,6 @@ GameObject: - component: {fileID: 995085216} - component: {fileID: 995085215} - component: {fileID: 995085214} - - component: {fileID: 995085213} - component: {fileID: 995085212} m_Layer: 0 m_Name: Cube (8) @@ -1429,27 +1428,6 @@ BoxCollider: serializedVersion: 2 m_Size: {x: 18.347458, y: 10.813437, z: 13.888897} m_Center: {x: 9.173729, y: -5.4067187, z: -6.9444485} ---- !u!54 &995085213 -Rigidbody: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 995085211} - serializedVersion: 3 - m_Mass: 1 - m_Drag: 0 - m_AngularDrag: 0.05 - m_CenterOfMass: {x: 0, y: 0, z: 0} - m_InertiaTensor: {x: 1, y: 1, z: 1} - m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1} - m_ImplicitCom: 1 - m_ImplicitTensor: 1 - m_UseGravity: 0 - m_IsKinematic: 0 - m_Interpolate: 0 - m_Constraints: 126 - m_CollisionDetection: 1 --- !u!33 &995085214 MeshFilter: m_ObjectHideFlags: 10 @@ -1772,7 +1750,6 @@ GameObject: - component: {fileID: 1094848284} - component: {fileID: 1094848283} - component: {fileID: 1094848282} - - component: {fileID: 1094848281} - component: {fileID: 1094848280} m_Layer: 0 m_Name: Cube (9) @@ -1794,27 +1771,6 @@ BoxCollider: serializedVersion: 2 m_Size: {x: 18.347458, y: 10.813437, z: 13.888897} m_Center: {x: 9.173729, y: -5.4067187, z: -6.9444485} ---- !u!54 &1094848281 -Rigidbody: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1094848279} - serializedVersion: 3 - m_Mass: 1 - m_Drag: 0 - m_AngularDrag: 0.05 - m_CenterOfMass: {x: 0, y: 0, z: 0} - m_InertiaTensor: {x: 1, y: 1, z: 1} - m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1} - m_ImplicitCom: 1 - m_ImplicitTensor: 1 - m_UseGravity: 0 - m_IsKinematic: 0 - m_Interpolate: 0 - m_Constraints: 126 - m_CollisionDetection: 1 --- !u!33 &1094848282 MeshFilter: m_ObjectHideFlags: 10 @@ -2302,7 +2258,6 @@ GameObject: - component: {fileID: 1535615962} - component: {fileID: 1535615961} - component: {fileID: 1535615960} - - component: {fileID: 1535615959} - component: {fileID: 1535615958} m_Layer: 0 m_Name: Cube (7) @@ -2324,27 +2279,6 @@ BoxCollider: serializedVersion: 2 m_Size: {x: 18.347458, y: 10.813437, z: 13.888897} m_Center: {x: 9.173729, y: -5.4067187, z: -6.9444485} ---- !u!54 &1535615959 -Rigidbody: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1535615957} - serializedVersion: 3 - m_Mass: 1 - m_Drag: 0 - m_AngularDrag: 0.05 - m_CenterOfMass: {x: 0, y: 0, z: 0} - m_InertiaTensor: {x: 1, y: 1, z: 1} - m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1} - m_ImplicitCom: 1 - m_ImplicitTensor: 1 - m_UseGravity: 0 - m_IsKinematic: 0 - m_Interpolate: 0 - m_Constraints: 126 - m_CollisionDetection: 1 --- !u!33 &1535615960 MeshFilter: m_ObjectHideFlags: 10 @@ -2681,7 +2615,7 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1570390063} m_LocalRotation: {x: -0, y: 0.7071068, z: -0, w: 0.7071068} - m_LocalPosition: {x: 5.34, y: -0.98, z: 0} + m_LocalPosition: {x: 6, y: -0.98, z: 0.02} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: @@ -7586,7 +7520,7 @@ Light: m_BounceIntensity: 1 m_ColorTemperature: 6570 m_UseColorTemperature: 0 - m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} + m_BoundingSphereOverride: {x: 1.02e-43, y: 1e-45, z: 1.02e-43, w: 5.2e-44} m_UseBoundingSphereOverride: 0 m_UseViewFrustumForShadowCasterCull: 1 m_ShadowRadius: 0 @@ -7604,7 +7538,6 @@ GameObject: - component: {fileID: 1879758729} - component: {fileID: 1879758728} - component: {fileID: 1879758727} - - component: {fileID: 1879758726} - component: {fileID: 1879758725} m_Layer: 0 m_Name: Cube (6) @@ -7626,27 +7559,6 @@ BoxCollider: serializedVersion: 2 m_Size: {x: 18.347458, y: 10.813437, z: 13.888897} m_Center: {x: 9.173729, y: -5.4067187, z: -6.9444485} ---- !u!54 &1879758726 -Rigidbody: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1879758724} - serializedVersion: 3 - m_Mass: 1 - m_Drag: 0 - m_AngularDrag: 0.05 - m_CenterOfMass: {x: 0, y: 0, z: 0} - m_InertiaTensor: {x: 1, y: 1, z: 1} - m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1} - m_ImplicitCom: 1 - m_ImplicitTensor: 1 - m_UseGravity: 0 - m_IsKinematic: 0 - m_Interpolate: 0 - m_Constraints: 126 - m_CollisionDetection: 1 --- !u!33 &1879758727 MeshFilter: m_ObjectHideFlags: 10 @@ -7969,7 +7881,6 @@ GameObject: - component: {fileID: 2097918695} - component: {fileID: 2097918694} - component: {fileID: 2097918693} - - component: {fileID: 2097918692} - component: {fileID: 2097918691} m_Layer: 0 m_Name: Cube (5) @@ -7991,27 +7902,6 @@ BoxCollider: serializedVersion: 2 m_Size: {x: 18.347458, y: 10.813437, z: 13.888897} m_Center: {x: 9.173729, y: -5.4067187, z: -6.9444485} ---- !u!54 &2097918692 -Rigidbody: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2097918690} - serializedVersion: 3 - m_Mass: 1 - m_Drag: 0 - m_AngularDrag: 0.05 - m_CenterOfMass: {x: 0, y: 0, z: 0} - m_InertiaTensor: {x: 1, y: 1, z: 1} - m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1} - m_ImplicitCom: 1 - m_ImplicitTensor: 1 - m_UseGravity: 0 - m_IsKinematic: 0 - m_Interpolate: 0 - m_Constraints: 126 - m_CollisionDetection: 1 --- !u!33 &2097918693 MeshFilter: m_ObjectHideFlags: 10 diff --git a/ProjectSettings/InputManager.asset b/ProjectSettings/InputManager.asset index 22918fc..6778818 100644 --- a/ProjectSettings/InputManager.asset +++ b/ProjectSettings/InputManager.asset @@ -9,10 +9,10 @@ InputManager: m_Name: Horizontal descriptiveName: descriptiveNegativeName: - negativeButton: left - positiveButton: right - altNegativeButton: a - altPositiveButton: d + negativeButton: right + positiveButton: left + altNegativeButton: d + altPositiveButton: a gravity: 3 dead: 0.001 sensitivity: 3 @@ -53,6 +53,22 @@ InputManager: type: 0 axis: 0 joyNum: 0 + - serializedVersion: 3 + m_Name: Yrot + descriptiveName: + descriptiveNegativeName: + negativeButton: insert + positiveButton: page up + altNegativeButton: left + altPositiveButton: right + gravity: 3 + dead: 0.001 + sensitivity: 3 + snap: 1 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 - serializedVersion: 3 m_Name: Fire1 descriptiveName: @@ -69,38 +85,6 @@ InputManager: type: 0 axis: 0 joyNum: 0 - - serializedVersion: 3 - m_Name: Fire2 - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: left alt - altNegativeButton: - altPositiveButton: mouse 1 - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Fire3 - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: left shift - altNegativeButton: - altPositiveButton: mouse 2 - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - serializedVersion: 3 m_Name: Jump descriptiveName: @@ -213,38 +197,6 @@ InputManager: type: 0 axis: 0 joyNum: 0 - - serializedVersion: 3 - m_Name: Fire2 - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: joystick button 1 - altNegativeButton: - altPositiveButton: - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Fire3 - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: joystick button 2 - altNegativeButton: - altPositiveButton: - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - serializedVersion: 3 m_Name: Jump descriptiveName: @@ -261,52 +213,4 @@ InputManager: type: 0 axis: 0 joyNum: 0 - - serializedVersion: 3 - m_Name: Submit - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: return - altNegativeButton: - altPositiveButton: joystick button 0 - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Submit - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: enter - altNegativeButton: - altPositiveButton: space - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 - - serializedVersion: 3 - m_Name: Cancel - descriptiveName: - descriptiveNegativeName: - negativeButton: - positiveButton: escape - altNegativeButton: - altPositiveButton: joystick button 1 - gravity: 1000 - dead: 0.001 - sensitivity: 1000 - snap: 0 - invert: 0 - type: 0 - axis: 0 - joyNum: 0 m_UsePhysicalKeys: 1