TurbineRotation

This commit is contained in:
Masoomeh 2024-05-25 13:45:40 +02:00
parent dd9e7dd2a3
commit e71867a0af
15 changed files with 475 additions and 134 deletions

@ -40,5 +40,5 @@ MonoBehaviour:
systemSplashScreen: {fileID: 0}
systemSplashScreenType: 0
_systemLoadingScreenBackground: 0
ovrPluginMd5Win64: e8cfe66d40bc858ac6a51dd265d3b2f7f0a29c248517d959fdfeab3a8c5ba89e
ovrPluginMd5Android: c7bb9a379e186c4b2726b69bbb7d3aced75ccf1ec60fa8579907e323401f936d
ovrPluginMd5Win64: e8cfe66d40bc858ac6a51dd265d3b2f74b5dab4136a4194413b203e1095563b9
ovrPluginMd5Android: c7bb9a379e186c4b2726b69bbb7d3acef5dc009380c2245e9b60356408299f72

@ -12,6 +12,6 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: b3d881e962d099f4a8eb492ef7e9a8c0, type: 3}
m_Name: OculusPlatformSettings
m_EditorClassIdentifier:
ovrAppID:
ovrAppID: 7683750335022769
ovrMobileAppID: 7683750335022769
ovrUseStandalonePlatform: 0

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

@ -26,13 +26,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 382264866490105688}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 64.95, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 382264866490459002}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &382264866493358940
MeshFilter:
@ -130,7 +130,8 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 382264866490105690}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0.11788399, z: 0, w: 0.9930274}
m_LocalPosition: {x: 2.664, y: 0, z: 0}
m_LocalScale: {x: 0.045, y: 0.045, z: 0.045}
m_ConstrainProportionsScale: 0
@ -138,8 +139,7 @@ Transform:
- {fileID: 382264866490459000}
- {fileID: 4270609215839807869}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 0, y: 13.54, z: 0}
--- !u!33 &382264866493358942
MeshFilter:
m_ObjectHideFlags: 0
@ -198,8 +198,17 @@ CapsuleCollider:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 382264866490105690}
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: 0
m_Enabled: 0
serializedVersion: 2
m_Radius: 2.4
m_Height: 70.7637
m_Direction: 1
@ -290,10 +299,21 @@ Rigidbody:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 382264866490105690}
serializedVersion: 2
serializedVersion: 4
m_Mass: 100
m_Drag: 10
m_AngularDrag: 10
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_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_ImplicitCom: 1
m_ImplicitTensor: 1
m_UseGravity: 0
m_IsKinematic: 0
m_Interpolate: 0
@ -372,6 +392,7 @@ PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 382264866490459002}
m_Modifications:
- target: {fileID: -9180565859901777493, guid: 8754aa5f3d45cec4980f02029a881f7d, type: 3}
@ -497,6 +518,9 @@ PrefabInstance:
m_RemovedComponents:
- {fileID: -6453332735135581912, guid: 8754aa5f3d45cec4980f02029a881f7d, type: 3}
- {fileID: -8231463906739603765, guid: 8754aa5f3d45cec4980f02029a881f7d, type: 3}
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 8754aa5f3d45cec4980f02029a881f7d, type: 3}
--- !u!4 &4270609215839807869 stripped
Transform:

@ -38,7 +38,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 705507994}
m_IndirectSpecularColor: {r: 0.18028326, g: 0.22571333, b: 0.30692202, a: 1}
m_IndirectSpecularColor: {r: 0.18018535, g: 0.22559482, b: 0.30677685, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:
@ -104,7 +104,7 @@ NavMeshSettings:
serializedVersion: 2
m_ObjectHideFlags: 0
m_BuildSettings:
serializedVersion: 2
serializedVersion: 3
agentTypeID: 0
agentRadius: 0.5
agentHeight: 2
@ -117,7 +117,7 @@ NavMeshSettings:
cellSize: 0.16666667
manualTileSize: 0
tileSize: 256
accuratePlacement: 0
buildHeightMesh: 0
maxJobWorkers: 0
preserveTilesOutsideBounds: 0
debug:
@ -146,6 +146,7 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 51011436}
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}
@ -153,7 +154,6 @@ Transform:
m_Children:
- {fileID: 1474380290}
m_Father: {fileID: 2982998299393685466}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &214795174 stripped
Transform:
@ -202,13 +202,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 472077538}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 1.3785317, y: 1.3, z: -3.8689885}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &504459020 stripped
Transform:
@ -252,13 +252,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 588891509}
serializedVersion: 2
m_LocalRotation: {x: 0.7071068, y: -0, z: -0, w: 0.7071068}
m_LocalPosition: {x: 0, y: 0, z: 0.3}
m_LocalScale: {x: 0.01, y: 0.3, z: 0.009999999}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 947450795}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0}
--- !u!136 &588891511
CapsuleCollider:
@ -268,8 +268,17 @@ CapsuleCollider:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 588891509}
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: 0
m_Enabled: 1
serializedVersion: 2
m_Radius: 0.5000001
m_Height: 2
m_Direction: 1
@ -378,13 +387,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 703945374}
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_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &705507993
GameObject:
@ -472,13 +481,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 705507993}
serializedVersion: 2
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
m_LocalPosition: {x: 0, y: 3, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
--- !u!1 &737114685
GameObject:
@ -503,14 +512,38 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 737114685}
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: 2982998299393685465}
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &777661092 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 382264866490105690, guid: a4966b3be785a2e4aaf3eb0c3ec8db1f, type: 3}
m_PrefabInstance: {fileID: 1724047319}
m_PrefabAsset: {fileID: 0}
--- !u!54 &777661098 stripped
Rigidbody:
m_CorrespondingSourceObject: {fileID: 9210870028678619386, guid: a4966b3be785a2e4aaf3eb0c3ec8db1f, type: 3}
m_PrefabInstance: {fileID: 1724047319}
m_PrefabAsset: {fileID: 0}
--- !u!114 &777661106
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 777661092}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3690a21d1731c44a7bd212ba1f27dc97, type: 3}
m_Name:
m_EditorClassIdentifier:
startRotationY: 0
endRotationY: 90
--- !u!1 &792989896
GameObject:
m_ObjectHideFlags: 0
@ -537,13 +570,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 792989896}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0.1, z: 0}
m_LocalScale: {x: 0.01, y: 0.1, z: 0.01}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2034547333}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!136 &792989898
CapsuleCollider:
@ -553,8 +586,17 @@ CapsuleCollider:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 792989896}
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: 0
m_Enabled: 1
serializedVersion: 2
m_Radius: 0.5000001
m_Height: 2
m_Direction: 1
@ -642,7 +684,6 @@ RectTransform:
m_Children:
- {fileID: 1038098151}
m_Father: {fileID: 417318960}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@ -769,6 +810,7 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 869333010}
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}
@ -777,7 +819,6 @@ Transform:
- {fileID: 947450795}
- {fileID: 1891465445}
m_Father: {fileID: 2064187195}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &901633397
GameObject:
@ -805,13 +846,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 901633397}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -0.5}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1891465445}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!23 &901633399
MeshRenderer:
@ -871,9 +912,17 @@ BoxCollider:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 901633397}
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: 0
m_Enabled: 1
serializedVersion: 2
serializedVersion: 3
m_Size: {x: 1, y: 1, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!1 &947450794
@ -899,6 +948,7 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 947450794}
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}
@ -908,7 +958,6 @@ Transform:
- {fileID: 2018816376}
- {fileID: 1282461828}
m_Father: {fileID: 869333012}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1031865458
GameObject:
@ -936,13 +985,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1031865458}
serializedVersion: 2
m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068}
m_LocalPosition: {x: 0, y: -0, z: -0.1}
m_LocalScale: {x: 0.01, y: 0.1, z: 0.01}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2034547333}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0}
--- !u!136 &1031865460
CapsuleCollider:
@ -952,8 +1001,17 @@ CapsuleCollider:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1031865458}
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: 0
m_Enabled: 1
serializedVersion: 2
m_Radius: 0.5000001
m_Height: 2
m_Direction: 1
@ -1042,7 +1100,6 @@ RectTransform:
- {fileID: 1584378377}
- {fileID: 1293452858}
m_Father: {fileID: 799752898}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
@ -1139,13 +1196,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1109088824}
serializedVersion: 2
m_LocalRotation: {x: 0.5, y: 0.5, z: -0.5, w: 0.5}
m_LocalPosition: {x: -0.1, y: -0, z: 0}
m_LocalScale: {x: 0.01, y: 0.1, z: 0.01}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2034547333}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 90, y: 90, z: 0}
--- !u!136 &1109088826
CapsuleCollider:
@ -1155,8 +1212,17 @@ CapsuleCollider:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1109088824}
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: 0
m_Enabled: 1
serializedVersion: 2
m_Radius: 0.5000001
m_Height: 2
m_Direction: 1
@ -1237,13 +1303,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1282461827}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0.3, z: 0}
m_LocalScale: {x: 0.01, y: 0.3, z: 0.01}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 947450795}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!136 &1282461829
CapsuleCollider:
@ -1253,8 +1319,17 @@ CapsuleCollider:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1282461827}
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: 0
m_Enabled: 1
serializedVersion: 2
m_Radius: 0.5000001
m_Height: 2
m_Direction: 1
@ -1341,7 +1416,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1038098151}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@ -1470,6 +1544,7 @@ PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 2982998299393685464}
m_Modifications:
- target: {fileID: 2519953544252300544, guid: 44cf50d1a2e68b64791a3e3143ccda19, type: 3}
@ -1537,6 +1612,9 @@ PrefabInstance:
value:
objectReference: {fileID: 2982998299393685463}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 44cf50d1a2e68b64791a3e3143ccda19, type: 3}
--- !u!114 &1381256989 stripped
MonoBehaviour:
@ -1549,6 +1627,11 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 4733c5f009d26ad49b3685117b8d3eb4, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!4 &1381256990 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 2519953544252300547, guid: 44cf50d1a2e68b64791a3e3143ccda19, type: 3}
m_PrefabInstance: {fileID: 1381256988}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1474380289
GameObject:
m_ObjectHideFlags: 0
@ -1572,13 +1655,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1474380289}
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: 51011437}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1523730821 stripped
MonoBehaviour:
@ -1628,7 +1711,6 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1038098151}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
@ -1716,14 +1798,90 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1701070906}
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: 1929030171}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1724047319
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: -5894702388203755254, guid: a4966b3be785a2e4aaf3eb0c3ec8db1f, type: 3}
propertyPath: m_Enabled
value: 0
objectReference: {fileID: 0}
- target: {fileID: 382264866490105690, guid: a4966b3be785a2e4aaf3eb0c3ec8db1f, type: 3}
propertyPath: m_Name
value: Wind_Turbine_withMap
objectReference: {fileID: 0}
- target: {fileID: 382264866490459002, guid: a4966b3be785a2e4aaf3eb0c3ec8db1f, type: 3}
propertyPath: m_LocalPosition.x
value: 2.664
objectReference: {fileID: 0}
- target: {fileID: 382264866490459002, guid: a4966b3be785a2e4aaf3eb0c3ec8db1f, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 382264866490459002, guid: a4966b3be785a2e4aaf3eb0c3ec8db1f, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 382264866490459002, guid: a4966b3be785a2e4aaf3eb0c3ec8db1f, type: 3}
propertyPath: m_LocalRotation.w
value: -0.4051417
objectReference: {fileID: 0}
- target: {fileID: 382264866490459002, guid: a4966b3be785a2e4aaf3eb0c3ec8db1f, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 382264866490459002, guid: a4966b3be785a2e4aaf3eb0c3ec8db1f, type: 3}
propertyPath: m_LocalRotation.y
value: -0.9142539
objectReference: {fileID: 0}
- target: {fileID: 382264866490459002, guid: a4966b3be785a2e4aaf3eb0c3ec8db1f, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 382264866490459002, guid: a4966b3be785a2e4aaf3eb0c3ec8db1f, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 382264866490459002, guid: a4966b3be785a2e4aaf3eb0c3ec8db1f, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 492.2
objectReference: {fileID: 0}
- target: {fileID: 382264866490459002, guid: a4966b3be785a2e4aaf3eb0c3ec8db1f, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2839850426794288352, guid: a4966b3be785a2e4aaf3eb0c3ec8db1f, type: 3}
propertyPath: _rigidbody
value:
objectReference: {fileID: 777661098}
- target: {fileID: 4423142984711990833, guid: a4966b3be785a2e4aaf3eb0c3ec8db1f, type: 3}
propertyPath: sceneViewId
value: 4
objectReference: {fileID: 0}
- target: {fileID: 5233951453890299482, guid: a4966b3be785a2e4aaf3eb0c3ec8db1f, type: 3}
propertyPath: sceneViewId
value: 3
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 382264866490105690, guid: a4966b3be785a2e4aaf3eb0c3ec8db1f, type: 3}
insertIndex: -1
addedObject: {fileID: 777661106}
m_SourcePrefab: {fileID: 100100000, guid: a4966b3be785a2e4aaf3eb0c3ec8db1f, type: 3}
--- !u!1 &1774543903
GameObject:
m_ObjectHideFlags: 0
@ -1747,13 +1905,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1774543903}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.356, y: 0, z: 0.4}
m_LocalScale: {x: 0.54763997, y: 0.54764, z: 0.54764}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 214795174}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1891465444
GameObject:
@ -1778,6 +1936,7 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1891465444}
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}
@ -1785,7 +1944,6 @@ Transform:
m_Children:
- {fileID: 901633398}
m_Father: {fileID: 869333012}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1902799571
GameObject:
@ -1810,13 +1968,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1902799571}
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: 2982998299393685465}
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1925634286
GameObject:
@ -1919,6 +2077,7 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1925634286}
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}
@ -1927,7 +2086,6 @@ Transform:
- {fileID: 2034547333}
- {fileID: 2119613675}
m_Father: {fileID: 2064187195}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1929030170
GameObject:
@ -1952,6 +2110,7 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1929030170}
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}
@ -1959,7 +2118,6 @@ Transform:
m_Children:
- {fileID: 1701070907}
m_Father: {fileID: 7079690333416302228}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &2018816375
GameObject:
@ -1987,13 +2145,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2018816375}
serializedVersion: 2
m_LocalRotation: {x: 0.5, y: 0.5, z: -0.5, w: 0.5}
m_LocalPosition: {x: 0.3, y: 0, z: 0}
m_LocalScale: {x: 0.01, y: 0.3, z: 0.01}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 947450795}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 90, y: 90, z: 0}
--- !u!136 &2018816377
CapsuleCollider:
@ -2003,8 +2161,17 @@ CapsuleCollider:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2018816375}
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: 0
m_Enabled: 1
serializedVersion: 2
m_Radius: 0.5000001
m_Height: 2
m_Direction: 1
@ -2082,6 +2249,7 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2034547332}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 1, z: 0, w: 0}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
@ -2091,7 +2259,6 @@ Transform:
- {fileID: 1109088825}
- {fileID: 792989897}
m_Father: {fileID: 1925634291}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0}
--- !u!1 &2064187191
GameObject:
@ -2177,6 +2344,7 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2064187191}
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}
@ -2185,7 +2353,6 @@ Transform:
- {fileID: 1925634291}
- {fileID: 869333012}
m_Father: {fileID: 0}
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &2119613674
GameObject:
@ -2211,13 +2378,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2119613674}
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: 1925634291}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &2119613676
BoxCollider:
@ -2227,9 +2394,17 @@ BoxCollider:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2119613674}
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: 0
m_Enabled: 1
serializedVersion: 2
serializedVersion: 3
m_Size: {x: 1, y: 1, z: 0.01}
m_Center: {x: 0, y: 0, z: 0}
--- !u!1001 &1808790778611120804
@ -2237,6 +2412,7 @@ PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1808790778080157666, guid: 4b32db7e3ea3cad46abd3aeada852f8b, type: 3}
@ -2296,12 +2472,16 @@ PrefabInstance:
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 4b32db7e3ea3cad46abd3aeada852f8b, type: 3}
--- !u!1001 &2982998299393685461
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 2700389807976697275, guid: 60fa00281e83b294583adc31df520fbe, type: 3}
@ -2405,6 +2585,30 @@ PrefabInstance:
value: 3
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects:
- targetCorrespondingSourceObject: {fileID: 5414912244175584721, guid: 60fa00281e83b294583adc31df520fbe, type: 3}
insertIndex: -1
addedObject: {fileID: 1902799572}
- targetCorrespondingSourceObject: {fileID: 5414912244175584721, guid: 60fa00281e83b294583adc31df520fbe, type: 3}
insertIndex: -1
addedObject: {fileID: 737114686}
- targetCorrespondingSourceObject: {fileID: 5414912244175512725, guid: 60fa00281e83b294583adc31df520fbe, type: 3}
insertIndex: -1
addedObject: {fileID: 1774543904}
- targetCorrespondingSourceObject: {fileID: 5414912244175594821, guid: 60fa00281e83b294583adc31df520fbe, type: 3}
insertIndex: -1
addedObject: {fileID: 51011437}
- targetCorrespondingSourceObject: {fileID: 5414912244175589697, guid: 60fa00281e83b294583adc31df520fbe, type: 3}
insertIndex: -1
addedObject: {fileID: 1929030171}
- targetCorrespondingSourceObject: {fileID: 1185076090538920644, guid: 60fa00281e83b294583adc31df520fbe, type: 3}
insertIndex: -1
addedObject: {fileID: 1381256990}
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 5414912244175157427, guid: 60fa00281e83b294583adc31df520fbe, type: 3}
insertIndex: -1
addedObject: {fileID: 7079690333416248135}
m_SourcePrefab: {fileID: 100100000, guid: 60fa00281e83b294583adc31df520fbe, type: 3}
--- !u!4 &2982998299393685462 stripped
Transform:
@ -2442,6 +2646,7 @@ PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1865941526453430776, guid: cd8280e8c381fbd4bbcad4b7ee581c31, type: 3}
@ -2505,6 +2710,9 @@ PrefabInstance:
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: cd8280e8c381fbd4bbcad4b7ee581c31, type: 3}
--- !u!4 &7079690333416248134 stripped
Transform:
@ -2536,6 +2744,7 @@ PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
serializedVersion: 3
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 124024583107484104, guid: bac340b17ae71864ab3a424b042a3ce7, type: 3}
@ -3481,4 +3690,23 @@ PrefabInstance:
m_RemovedComponents:
- {fileID: 1161621204394269560, guid: bac340b17ae71864ab3a424b042a3ce7, type: 3}
- {fileID: 1347449555428581788, guid: bac340b17ae71864ab3a424b042a3ce7, type: 3}
m_RemovedGameObjects: []
m_AddedGameObjects:
- targetCorrespondingSourceObject: {fileID: 8607079646963991754, guid: bac340b17ae71864ab3a424b042a3ce7, type: 3}
insertIndex: -1
addedObject: {fileID: 799752898}
m_AddedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: bac340b17ae71864ab3a424b042a3ce7, type: 3}
--- !u!1660057539 &9223372036854775807
SceneRoots:
m_ObjectHideFlags: 0
m_Roots:
- {fileID: 8607079647158505904}
- {fileID: 703945377}
- {fileID: 705507995}
- {fileID: 1808790778611120804}
- {fileID: 3779725044559680324}
- {fileID: 2982998299393685461}
- {fileID: 2064187195}
- {fileID: 472077540}
- {fileID: 1724047319}

@ -6,8 +6,7 @@ using System.Security.Cryptography;
using TMPro;
using UnityEngine;
using UnityEngine.Networking;
//https://github.com/GlitchEnzo/NuGetForUnity
// Creating the data structure according to the expected Json
[Serializable]
public class DataPoint
{
@ -33,7 +32,6 @@ public class ApiResponse
public string geometry;
public List<DataPerHour> timeSeries;
}
public class API : MonoBehaviour
{
@ -41,33 +39,36 @@ public class API : MonoBehaviour
public TextMeshProUGUI windDirValue;
public TextMeshProUGUI temperatureValue;
public TextMeshProUGUI loc;
public GameObject webSocketController;
public TurbineController turbineController; // Reference to the TurbineController to control rotation
private WebSocketController webSocketControllerScript;
private float LatestT;
private float latestWD;
private string unit;
public GameObject webSocketController;
private WebSocketController webSocketControllerScript;
void Start()
{
//TestFromJsonToData();
webSocketControllerScript = webSocketController.GetComponent<WebSocketController>();
//TestFromJsonToData(); // Uncomment this to test JSON parsing independently
EmergencyButtonClick();
}
public void OnButtonClick()
{
webSocketControllerScript = webSocketController.GetComponent<WebSocketController>();
StartCoroutine(GetText());
}
public void EmergencyButtonClick()
{
loc.SetText("----");
windDirValue.SetText("----");
temperatureValue.SetText("----");
}
IEnumerator GetText()
{
UnityWebRequest www = UnityWebRequest.Get("https://opendata-download-metanalys.smhi.se/api/category/mesan2g/version/1/geotype/point/lon/17.94/lat/59.40/data.json");
yield return www.SendWebRequest();
if (www.result != UnityWebRequest.Result.Success)
@ -76,50 +77,53 @@ public class API : MonoBehaviour
}
else
{
Debug.Log("Received data" + www.downloadHandler.text);
Debug.Log("Received data: " + www.downloadHandler.text); // Log the JSON data received
ExtractDataFromJson(www.downloadHandler.text);
}
}
public void ExtractDataFromJson(string json)
{
ApiResponse response = JsonUtility.FromJson<ApiResponse>(json);
//Debug.Log("Api response worked!!!!");
// Access the latest hour
DataPerHour timeResponse = response.timeSeries[0];
List<DataPoint> dataPoints = timeResponse.parameters;
loc.SetText("Kista(Lat:59.4067 Long:17.9452)"); // Set the location display
voltageValue.text = webSocketControllerScript.voltageValue.ToString(); // Update voltage value display
for (int i = 0; i < dataPoints.Count; i++)
{
DataPoint point = dataPoints[i];
if (point.name == "wd") // Handling wind direction
{
latestWD = point.values[0];
windDirValue.SetText(latestWD.ToString() + " degrees");
//turbineController.SetRotationSpeed(latestWD); // Adjust turbine rotation based on wind direction
webSocketControllerScript.ws.Send(latestWD.ToString() + ": take input");
}
if (point.name == "t") // Handling temperature
{
LatestT = point.values[0];
unit = point.unit;
temperatureValue.SetText(LatestT.ToString() + " " + unit);
}
}
}
public void TestFromJsonToData()
{
string testJson = "{\r\n \"name\": \"t\",\r\n \"levelType\": \"hl\",\r\n \"level\": 2,\r\n \"unit\": \"Cel\",\r\n \"values\": [\r\n 21.3\r\n ]\r\n }";
DataPoint dataTurbine = JsonUtility.FromJson<DataPoint>(testJson);
//Debug.Log(dataTurbine.name);
//Debug.Log(dataTurbine.values[0]);
}
public void ExtractDataFromJson(string json)
{
ApiResponse response = JsonUtility.FromJson<ApiResponse>(json);
//Debug.Log("Api response worked!!!!");
//Access the latest hour
DataPerHour timeResponse = response.timeSeries[0];
List<DataPoint> dataPoints = timeResponse.parameters;
//Debug.Log("Total number of data points: " + dataPoints.Count);
//Find the value of WD in the latest hour
for (int i = 0; i < dataPoints.Count; i++)
{
DataPoint point = dataPoints[i];
voltageValue.text = webSocketControllerScript.voltageValue.ToString();
loc.SetText("Kista(Lat:59.4067 Long:17.9452)");
if (point.name == "wd")
{
latestWD = point.values[0];
windDirValue.SetText(latestWD.ToString());
webSocketControllerScript.ws.Send(latestWD.ToString()+":take input");
}
if (point.name == "t")
{
LatestT = point.values[0];
unit = point.unit;
temperatureValue.SetText(LatestT.ToString()+ " "+ unit);
}
}
//Debug.Log(dataTurbine.name);
//Debug.Log(dataTurbine.values[0]);
}
}

@ -12,6 +12,7 @@ GameObject:
- component: {fileID: 5581291715407291680}
- component: {fileID: 5581291715408422880}
- component: {fileID: 5581291715406166307}
- component: {fileID: 6664466971545217090}
m_Layer: 0
m_Name: Wind_Turbine_0001a
m_TagString: Untagged
@ -26,13 +27,14 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5581291715406166308}
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:
- {fileID: 5581291715405997318}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &5581291715407291680
MeshFilter:
@ -92,12 +94,34 @@ CapsuleCollider:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5581291715406166308}
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: 0
m_Enabled: 1
serializedVersion: 2
m_Radius: 2.4
m_Height: 73.15
m_Direction: 1
m_Center: {x: 0, y: 33.515747, z: 0}
--- !u!114 &6664466971545217090
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5581291715406166308}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3690a21d1731c44a7bd212ba1f27dc97, type: 3}
m_Name:
m_EditorClassIdentifier:
rotationSpeed: 100
--- !u!1 &5581291715406166310
GameObject:
m_ObjectHideFlags: 0
@ -124,12 +148,13 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5581291715406166310}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 64.95, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 5581291715405997316}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &5581291715407291682
MeshFilter:

@ -0,0 +1,31 @@
using UnityEngine;
using System.Collections;
public class TurbineController : MonoBehaviour
{
public float startRotationY = 0f;
public float endRotationY = 90f;
private void Start()
{
// Start the rotation when the game starts
StartCoroutine(RotateObject(startRotationY, endRotationY, 1f));
}
IEnumerator RotateObject(float startAngle, float endAngle, float duration)
{
float timeElapsed = 0f;
Quaternion startRotation = Quaternion.Euler(0, startAngle, 0);
Quaternion endRotation = Quaternion.Euler(0, endAngle, 0);
while (timeElapsed < duration)
{
transform.rotation = Quaternion.Lerp(startRotation, endRotation, timeElapsed / duration);
timeElapsed += Time.deltaTime;
yield return null;
}
// Ensure the rotation exactly matches the end rotation at the end
transform.rotation = endRotation;
}
}

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 3690a21d1731c44a7bd212ba1f27dc97
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

@ -4,8 +4,8 @@ using UnityEngine;
public class Windturbine : MonoBehaviour
{
float angle;
float speed;
public float angle;
public float speed;
// Start is called before the first frame update
void Start()

@ -6,20 +6,21 @@
"com.meta.xr.sdk.interaction.ovr": "63.0.0",
"com.meta.xr.sdk.interaction.ovr.samples": "64.0.0",
"com.meta.xr.sdk.platform": "63.0.0",
"com.unity.ai.navigation": "1.1.5",
"com.unity.collab-proxy": "2.3.1",
"com.unity.ide.rider": "3.0.28",
"com.unity.ide.visualstudio": "2.0.22",
"com.unity.ide.vscode": "1.2.5",
"com.unity.shadergraph": "12.1.13",
"com.unity.shadergraph": "14.0.9",
"com.unity.test-framework": "1.1.33",
"com.unity.textmeshpro": "3.0.6",
"com.unity.timeline": "1.6.5",
"com.unity.timeline": "1.7.6",
"com.unity.ugui": "1.0.0",
"com.unity.xr.hands": "1.4.1",
"com.unity.xr.interaction.toolkit": "2.5.2",
"com.unity.xr.management": "4.4.0",
"com.unity.xr.mock-hmd": "1.3.0-preview.1",
"com.unity.xr.oculus": "3.4.0",
"com.unity.xr.oculus": "4.1.2",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",
"com.unity.modules.animation": "1.0.0",

@ -64,6 +64,15 @@
},
"url": "https://npm.developer.oculus.com"
},
"com.unity.ai.navigation": {
"version": "1.1.5",
"depth": 0,
"source": "registry",
"dependencies": {
"com.unity.modules.ai": "1.0.0"
},
"url": "https://packages.unity.com"
},
"com.unity.collab-proxy": {
"version": "2.3.1",
"depth": 0,
@ -120,29 +129,30 @@
"url": "https://packages.unity.com"
},
"com.unity.render-pipelines.core": {
"version": "12.1.13",
"version": "14.0.9",
"depth": 1,
"source": "builtin",
"dependencies": {
"com.unity.ugui": "1.0.0",
"com.unity.modules.physics": "1.0.0",
"com.unity.modules.terrain": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0"
}
},
"com.unity.searcher": {
"version": "4.9.1",
"version": "4.9.2",
"depth": 1,
"source": "registry",
"dependencies": {},
"url": "https://packages.unity.com"
},
"com.unity.shadergraph": {
"version": "12.1.13",
"version": "14.0.9",
"depth": 0,
"source": "builtin",
"dependencies": {
"com.unity.render-pipelines.core": "12.1.13",
"com.unity.searcher": "4.9.1"
"com.unity.render-pipelines.core": "14.0.9",
"com.unity.searcher": "4.9.2"
}
},
"com.unity.test-framework": {
@ -166,7 +176,7 @@
"url": "https://packages.unity.com"
},
"com.unity.timeline": {
"version": "1.6.5",
"version": "1.7.6",
"depth": 0,
"source": "registry",
"dependencies": {
@ -256,7 +266,7 @@
"url": "https://packages.unity.com"
},
"com.unity.xr.oculus": {
"version": "3.4.0",
"version": "4.1.2",
"depth": 0,
"source": "registry",
"dependencies": {
@ -396,17 +406,6 @@
"version": "1.0.0",
"depth": 0,
"source": "builtin",
"dependencies": {
"com.unity.modules.ui": "1.0.0",
"com.unity.modules.imgui": "1.0.0",
"com.unity.modules.jsonserialize": "1.0.0",
"com.unity.modules.uielementsnative": "1.0.0"
}
},
"com.unity.modules.uielementsnative": {
"version": "1.0.0",
"depth": 1,
"source": "builtin",
"dependencies": {
"com.unity.modules.ui": "1.0.0",
"com.unity.modules.imgui": "1.0.0",

@ -3,7 +3,7 @@
--- !u!129 &1
PlayerSettings:
m_ObjectHideFlags: 0
serializedVersion: 24
serializedVersion: 26
productGUID: 273d2b61ec7509944b8196c21cada2ad
AndroidProfiler: 0
AndroidFilterTouchesWhenObscured: 0
@ -49,14 +49,15 @@ PlayerSettings:
m_StereoRenderingPath: 2
m_ActiveColorSpace: 1
unsupportedMSAAFallback: 0
m_SpriteBatchVertexThreshold: 300
m_MTRendering: 1
mipStripping: 0
numberOfMipsStripped: 0
numberOfMipsStrippedPerMipmapLimitGroup: {}
m_StackTraceTypes: 010000000100000001000000010000000100000001000000
iosShowActivityIndicatorOnLoading: -1
androidShowActivityIndicatorOnLoading: -1
iosUseCustomAppBackgroundBehavior: 0
iosAllowHTTPDownload: 1
allowedAutorotateToPortrait: 1
allowedAutorotateToPortraitUpsideDown: 1
allowedAutorotateToLandscapeRight: 1
@ -75,6 +76,7 @@ PlayerSettings:
androidMinimumWindowWidth: 400
androidMinimumWindowHeight: 300
androidFullscreenMode: 1
androidAutoRotationBehavior: 1
defaultIsNativeResolution: 1
macRetinaSupport: 1
runInBackground: 1
@ -86,6 +88,7 @@ PlayerSettings:
hideHomeButton: 0
submitAnalytics: 1
usePlayerLog: 1
dedicatedServerOptimizations: 0
bakeCollisionMeshes: 0
forceSingleInstance: 0
useFlipModelSwapchain: 1
@ -120,8 +123,11 @@ PlayerSettings:
switchNVNShaderPoolsGranularity: 33554432
switchNVNDefaultPoolsGranularity: 16777216
switchNVNOtherPoolsGranularity: 16777216
switchGpuScratchPoolGranularity: 2097152
switchAllowGpuScratchShrinking: 0
switchNVNMaxPublicTextureIDCount: 0
switchNVNMaxPublicSamplerIDCount: 0
switchNVNGraphicsFirmwareMemory: 32
switchMaxWorkerMultiple: 8
stadiaPresentMode: 0
stadiaTargetFramerate: 0
@ -130,12 +136,7 @@ PlayerSettings:
vulkanEnablePreTransform: 0
vulkanEnableLateAcquireNextImage: 0
vulkanEnableCommandBufferRecycling: 1
m_SupportedAspectRatios:
4:3: 1
5:4: 1
16:10: 1
16:9: 1
Others: 1
loadStoreDebugModeEnabled: 0
bundleVersion: 50
preloadedAssets:
- {fileID: 0}
@ -515,8 +516,9 @@ PlayerSettings:
isWsaHolographicRemotingEnabled: 0
enableFrameTimingStats: 0
enableOpenGLProfilerGPURecorders: 1
allowHDRDisplaySupport: 0
useHDRDisplay: 0
D3DHDRBitDepth: 0
hdrBitDepth: 0
m_ColorGamuts: 00000000
targetPixelDensity: 30
resolutionScalingMode: 0
@ -528,6 +530,7 @@ PlayerSettings:
Standalone: com.DefaultCompany.Unity-SharedSpatialAnchors
buildNumber:
Standalone: 0
VisionOS: 0
iPhone: 0
tvOS: 0
overrideDefaultApplicationIdentifier: 1
@ -545,12 +548,15 @@ PlayerSettings:
APKExpansionFiles: 0
keepLoadedShadersAlive: 0
StripUnusedMeshComponents: 1
strictShaderVariantMatching: 0
VertexChannelCompressionMask: 4054
iPhoneSdkVersion: 988
iOSTargetOSVersionString: 12.0
tvOSSdkVersion: 0
tvOSRequireExtendedGameController: 0
tvOSTargetOSVersionString: 12.0
VisionOSSdkVersion: 0
VisionOSTargetOSVersionString: 1.0
uIPrerenderedIcon: 0
uIRequiresPersistentWiFi: 0
uIRequiresFullScreen: 1
@ -598,8 +604,10 @@ PlayerSettings:
appleDeveloperTeamID:
iOSManualSigningProvisioningProfileID:
tvOSManualSigningProvisioningProfileID:
VisionOSManualSigningProvisioningProfileID:
iOSManualSigningProvisioningProfileType: 0
tvOSManualSigningProvisioningProfileType: 0
VisionOSManualSigningProvisioningProfileType: 0
appleEnableAutomaticSigning: 0
iOSRequireARKit: 0
iOSAutomaticallyDetectAndAddCapabilities: 1
@ -614,6 +622,7 @@ PlayerSettings:
useCustomLauncherGradleManifest: 0
useCustomBaseGradleTemplate: 0
useCustomGradlePropertiesTemplate: 0
useCustomGradleSettingsTemplate: 0
useCustomProguardFile: 0
AndroidTargetArchitectures: 2
AndroidTargetDevices: 0
@ -621,6 +630,7 @@ PlayerSettings:
androidSplashScreen: {fileID: 0}
AndroidKeystoreName: '{inproject}: twinturbine.keystore'
AndroidKeyaliasName: twinturbine
AndroidEnableArmv9SecurityFeatures: 0
AndroidBuildApkPerCpuArchitecture: 0
AndroidTVCompatibility: 0
AndroidIsGame: 1
@ -634,7 +644,6 @@ PlayerSettings:
banner: {fileID: 0}
androidGamepadSupportLevel: 0
chromeosInputEmulation: 1
AndroidMinifyWithR8: 0
AndroidMinifyRelease: 0
AndroidMinifyDebug: 0
AndroidValidateAppBundleSize: 1
@ -815,7 +824,9 @@ PlayerSettings:
iPhone: 1
tvOS: 1
m_BuildTargetGroupLightmapEncodingQuality: []
m_BuildTargetGroupHDRCubemapEncodingQuality: []
m_BuildTargetGroupLightmapSettings: []
m_BuildTargetGroupLoadStoreDebugModeSettings: []
m_BuildTargetNormalMapEncoding: []
m_BuildTargetDefaultTextureCompressionFormat: []
playModeTestRunnerEnabled: 0
@ -828,6 +839,7 @@ PlayerSettings:
locationUsageDescription:
microphoneUsageDescription:
bluetoothUsageDescription:
macOSTargetOSVersion: 10.13.0
switchNMETAOverride:
switchNetLibKey:
switchSocketMemoryPoolSize: 6144
@ -839,6 +851,7 @@ PlayerSettings:
switchLTOSetting: 0
switchApplicationID: 0x01004b9000490000
switchNSODependencies:
switchCompilerFlags:
switchTitleNames_0:
switchTitleNames_1:
switchTitleNames_2:
@ -1053,6 +1066,7 @@ PlayerSettings:
webGLMemorySize: 16
webGLExceptionSupport: 1
webGLNameFilesAsHashes: 0
webGLShowDiagnostics: 0
webGLDataCaching: 1
webGLDebugSymbols: 0
webGLEmscriptenArgs:
@ -1065,6 +1079,12 @@ PlayerSettings:
webGLLinkerTarget: 1
webGLThreadsSupport: 0
webGLDecompressionFallback: 0
webGLInitialMemorySize: 32
webGLMaximumMemorySize: 2048
webGLMemoryGrowthMode: 2
webGLMemoryLinearGrowthStep: 16
webGLMemoryGeometricGrowthStep: 0.2
webGLMemoryGeometricGrowthCap: 96
webGLPowerPreference: 2
scriptingDefineSymbols:
1: VOICE_SDK_IMMERSIVE_VC;OVR_INTERNAL_CODE;PHOTON_UNITY_NETWORKING;PUN_2_0_OR_NEWER;PUN_2_OR_NEWER;PUN_2_19_OR_NEWER;ODIN_VALIDATOR;ODIN_INSPECTOR;ODIN_INSPECTOR_3
@ -1104,6 +1124,7 @@ PlayerSettings:
Android: 1
Standalone: 1
il2cppCompilerConfiguration: {}
il2cppCodeGeneration: {}
managedStrippingLevel:
Android: 1
EmbeddedLinux: 1
@ -1124,11 +1145,9 @@ PlayerSettings:
suppressCommonWarnings: 1
allowUnsafeCode: 0
useDeterministicCompilation: 1
enableRoslynAnalyzers: 1
additionalIl2CppArgs:
scriptingRuntimeVersion: 1
gcIncremental: 1
assemblyVersionValidation: 1
gcWBarrierValidation: 0
apiCompatibilityLevelPerPlatform: {}
m_RenderingPath: 1
@ -1201,6 +1220,11 @@ PlayerSettings:
luminVersion:
m_VersionCode: 1
m_VersionName:
hmiPlayerDataPath:
hmiForceSRGBBlit: 1
embeddedLinuxEnableGamepadInput: 1
hmiLogStartupTiming: 0
hmiCpuConfiguration:
apiCompatibilityLevel: 3
activeInputHandler: 2
windowsGamepadBackendHint: 0
@ -1211,6 +1235,7 @@ PlayerSettings:
organizationId:
cloudEnabled: 0
legacyClampBlendShapeWeights: 0
playerDataPath:
forceSRGBBlit: 1
hmiLoadingImage: {fileID: 0}
platformRequiresReadableAssets: 0
virtualTexturingSupportEnabled: 0
insecureHttpOption: 0

@ -1,2 +1,2 @@
m_EditorVersion: 2021.3.32f1
m_EditorVersionWithRevision: 2021.3.32f1 (3b9dae9532f5)
m_EditorVersion: 2022.3.17f1
m_EditorVersionWithRevision: 2022.3.17f1 (4fc78088f837)