60 fps mobil

This commit is contained in:
2023-03-14 16:44:25 +01:00
parent a5c962b8bc
commit 20fbe86322
4 changed files with 94 additions and 60 deletions

View File

@@ -3715,6 +3715,7 @@ GameObject:
- component: {fileID: 1386328422}
- component: {fileID: 1386328425}
- component: {fileID: 1386328423}
- component: {fileID: 1386328426}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera
@@ -3850,6 +3851,18 @@ MonoBehaviour:
MainMenuObj: {fileID: 1704647066}
OptionsMenu: {fileID: 1274410647}
VideoButton: {fileID: 500113175}
--- !u!114 &1386328426
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1386328416}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b0fa93b33fed1ce42a3e77548b03decc, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1421471717
GameObject:
m_ObjectHideFlags: 0

View File

@@ -0,0 +1,10 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FrameRateSetter : MonoBehaviour
{
private void Awake() {
Application.targetFrameRate = 60;
}
}

View File

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

View File

@@ -15,9 +15,9 @@ MonoBehaviour:
m_PixelRect:
serializedVersion: 2
x: 0
y: 28
width: 1366
height: 673
y: 43
width: 1920
height: 997
m_ShowMode: 4
m_Title: Hierarchy
m_RootView: {fileID: 2}
@@ -44,8 +44,8 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1366
height: 673
width: 1920
height: 997
m_MinSize: {x: 875, y: 300}
m_MaxSize: {x: 10000, y: 10000}
m_UseTopView: 1
@@ -69,7 +69,7 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1366
width: 1920
height: 30
m_MinSize: {x: 0, y: 0}
m_MaxSize: {x: 0, y: 0}
@@ -90,8 +90,8 @@ MonoBehaviour:
m_Position:
serializedVersion: 2
x: 0
y: 653
width: 1366
y: 977
width: 1920
height: 20
m_MinSize: {x: 0, y: 0}
m_MaxSize: {x: 0, y: 0}
@@ -114,12 +114,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 30
width: 1366
height: 623
width: 1920
height: 947
m_MinSize: {x: 300, y: 200}
m_MaxSize: {x: 24288, y: 16192}
vertical: 0
controlID: 105
controlID: 86
--- !u!114 &6
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -139,12 +139,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1015
height: 623
width: 1427
height: 947
m_MinSize: {x: 200, y: 200}
m_MaxSize: {x: 16192, y: 16192}
vertical: 1
controlID: 106
controlID: 87
--- !u!114 &7
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -164,12 +164,12 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 1015
height: 422
width: 1427
height: 641
m_MinSize: {x: 200, y: 100}
m_MaxSize: {x: 16192, y: 8096}
vertical: 0
controlID: 107
controlID: 88
--- !u!114 &8
MonoBehaviour:
m_ObjectHideFlags: 52
@@ -187,8 +187,8 @@ MonoBehaviour:
serializedVersion: 2
x: 0
y: 0
width: 271
height: 422
width: 206
height: 641
m_MinSize: {x: 201, y: 221}
m_MaxSize: {x: 4001, y: 4021}
m_ActualView: {fileID: 13}
@@ -211,10 +211,10 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 271
x: 206
y: 0
width: 744
height: 422
width: 1221
height: 641
m_MinSize: {x: 202, y: 221}
m_MaxSize: {x: 4002, y: 4021}
m_ActualView: {fileID: 14}
@@ -239,9 +239,9 @@ MonoBehaviour:
m_Position:
serializedVersion: 2
x: 0
y: 422
width: 1015
height: 201
y: 641
width: 1427
height: 306
m_MinSize: {x: 231, y: 271}
m_MaxSize: {x: 10001, y: 10021}
m_ActualView: {fileID: 15}
@@ -264,10 +264,10 @@ MonoBehaviour:
m_Children: []
m_Position:
serializedVersion: 2
x: 1015
x: 1427
y: 0
width: 351
height: 623
width: 493
height: 947
m_MinSize: {x: 276, y: 71}
m_MaxSize: {x: 4001, y: 4021}
m_ActualView: {fileID: 17}
@@ -389,19 +389,19 @@ MonoBehaviour:
m_Pos:
serializedVersion: 2
x: 0
y: 86
width: 270
height: 401
y: 73
width: 205
height: 620
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
m_SaveData: []
m_SceneHierarchy:
m_TreeViewState:
scrollPos: {x: 0, y: 612}
m_SelectedIDs: 78ca0000
m_LastClickedID: 51832
m_ExpandedIDs: 6ce6ffff08e7ffffe2e8ffffeae8ffffb2eaffffceeaffff1cfbffff9ac90000cec90000e8c900000acc000044cc00005acc000076cc0000dacd00003ace000074ce000090ce0000fece00004acf000064cf000000d00000a6d00000b0d00000c2d00000ecd0000018d1000082d10000a4d10000f2d200003ed30000f6d300006ed4000076d40000b6d40000c0d40000e0d40000ced50000d2d50000
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 8cdeffff2edfffff3cdfffff44dfffff0ce1ffff16e1ffffa2e2ffff44e3ffff52e3ffff5ae3ffff22e5ffff2ce5ffff68e7ffff0ae8ffffe8e9fffff4e9ffffe8ebfffff6ebffff4af1ffffecf1ffffc4f3ffffccf3ffffbcf5ffffc6f5ffff28fbffff
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -445,10 +445,10 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 271
y: 86
width: 742
height: 401
x: 206
y: 73
width: 1219
height: 620
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
@@ -698,16 +698,16 @@ MonoBehaviour:
m_WindowGUID: cc27987af1a868c49b0894db9c0f5429
m_Gizmos: 1
m_OverrideSceneCullingMask: 6917529027641081856
m_SceneIsLit: 0
m_SceneIsLit: 1
m_SceneLighting: 1
m_2DMode: 1
m_isRotationLocked: 0
m_PlayAudio: 0
m_AudioPlay: 0
m_Position:
m_Target: {x: -9.624122, y: -3.269577, z: 0.012685481}
m_Target: {x: 343.27173, y: 345.1628, z: 1.9150982}
speed: 2
m_Value: {x: -9.624122, y: -3.269577, z: 0.012685481}
m_Value: {x: 343.27173, y: 345.1628, z: 1.9150982}
m_RenderMode: 0
m_CameraMode:
drawMode: 0
@@ -758,9 +758,9 @@ MonoBehaviour:
speed: 2
m_Value: {x: 0, y: 0, z: 0, w: 1}
m_Size:
m_Target: 7.618209
m_Target: 344.6367
speed: 2
m_Value: 7.618209
m_Value: 344.6367
m_Ortho:
m_Target: 1
speed: 2
@@ -806,9 +806,9 @@ MonoBehaviour:
m_Pos:
serializedVersion: 2
x: 0
y: 508
width: 1014
height: 180
y: 714
width: 1426
height: 285
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
@@ -826,22 +826,22 @@ MonoBehaviour:
m_SkipHidden: 0
m_SearchArea: 1
m_Folders:
- Assets/Scripts
- Assets/Scripts/menu
m_Globs: []
m_OriginalText:
m_ViewMode: 1
m_StartGridSize: 66
m_LastFolders:
- Assets/Scripts
- Assets/Scripts/menu
m_LastFoldersGridSize: 66
m_LastProjectPath: /home/tom/Documents/dev/find the source
m_LastProjectPath: E:\dev\find the source\projekt\FindTheSource
m_LockTracker:
m_IsLocked: 0
m_FolderTreeState:
scrollPos: {x: 0, y: 0}
m_SelectedIDs: 067a0000
m_LastClickedID: 31238
m_ExpandedIDs: 00000000f079000000ca9a3b
m_SelectedIDs: 306f0000
m_LastClickedID: 28464
m_ExpandedIDs: 00000000206f00002a6f0000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -869,7 +869,7 @@ MonoBehaviour:
scrollPos: {x: 0, y: 0}
m_SelectedIDs:
m_LastClickedID: 0
m_ExpandedIDs: 00000000f0790000
m_ExpandedIDs: 00000000206f0000
m_RenameOverlay:
m_UserAcceptedRename: 0
m_Name:
@@ -913,7 +913,7 @@ MonoBehaviour:
m_IsRenaming: 0
m_OriginalEventType: 11
m_IsRenamingFilename: 1
m_ClientGUIView: {fileID: 0}
m_ClientGUIView: {fileID: 10}
m_CreateAssetUtility:
m_EndAction: {fileID: 0}
m_InstanceID: 0
@@ -973,10 +973,10 @@ MonoBehaviour:
m_Tooltip:
m_Pos:
serializedVersion: 2
x: 1015
y: 86
width: 350
height: 602
x: 1427
y: 73
width: 492
height: 926
m_ViewDataDictionary: {fileID: 0}
m_OverlayCanvas:
m_LastAppliedPresetName: Default
@@ -988,7 +988,7 @@ MonoBehaviour:
m_ControlHash: -371814159
m_PrefName: Preview_InspectorPreview
m_LastInspectedObjectInstanceID: -1
m_LastVerticalScrollValue: 369
m_LastVerticalScrollValue: 0
m_GlobalObjectId:
m_InspectorMode: 0
m_LockTracker: