Skip to content

Commit f0abc8a

Browse files
Fix UI scale
1 parent 96678b8 commit f0abc8a

File tree

7 files changed

+284
-15
lines changed

7 files changed

+284
-15
lines changed

Assets/Scenes/Main.unity

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -720,10 +720,10 @@ MonoBehaviour:
720720
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
721721
m_Name:
722722
m_EditorClassIdentifier:
723-
m_UiScaleMode: 0
723+
m_UiScaleMode: 1
724724
m_ReferencePixelsPerUnit: 32
725725
m_ScaleFactor: 2
726-
m_ReferenceResolution: {x: 192, y: 320}
726+
m_ReferenceResolution: {x: 384, y: 640}
727727
m_ScreenMatchMode: 0
728728
m_MatchWidthOrHeight: 0
729729
m_PhysicalUnit: 3
@@ -2546,7 +2546,18 @@ MonoBehaviour:
25462546
UI: {fileID: 530139050}
25472547
onStartGame:
25482548
m_PersistentCalls:
2549-
m_Calls: []
2549+
m_Calls:
2550+
- m_Target: {fileID: 1248504426}
2551+
m_MethodName: ClearScore
2552+
m_Mode: 1
2553+
m_Arguments:
2554+
m_ObjectArgument: {fileID: 0}
2555+
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
2556+
m_IntArgument: 0
2557+
m_FloatArgument: 0
2558+
m_StringArgument:
2559+
m_BoolArgument: 0
2560+
m_CallState: 2
25502561
onGameOver:
25512562
m_PersistentCalls:
25522563
m_Calls: []

Assets/Textures/Expresso Bits.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
408 Bytes
Loading

Assets/Textures/Expresso Bits/Logo.png.meta

Lines changed: 140 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ProjectSettings/GraphicsSettings.asset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ GraphicsSettings:
3939
- {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0}
4040
- {fileID: 16001, guid: 0000000000000000f000000000000000, type: 0}
4141
- {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0}
42+
- {fileID: 16003, guid: 0000000000000000f000000000000000, type: 0}
4243
m_PreloadedShaders: []
4344
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
4445
type: 0}

ProjectSettings/ProjectSettings.asset

Lines changed: 120 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ PlayerSettings:
88
AndroidProfiler: 0
99
AndroidFilterTouchesWhenObscured: 0
1010
AndroidEnableSustainedPerformanceMode: 0
11-
defaultScreenOrientation: 4
11+
defaultScreenOrientation: 1
1212
targetDevice: 2
1313
useOnDemandResources: 0
1414
accelerometerFrequency: 60
15-
companyName: DefaultCompany
15+
companyName: ExpressoBits
1616
productName: OpenKnife
1717
defaultCursor: {fileID: 0}
1818
cursorHotspot: {x: 0, y: 0}
19-
m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1}
19+
m_SplashScreenBackgroundColor: {r: 0.86666673, g: 0.098039225, b: 0.1137255, a: 1}
2020
m_ShowUnitySplashScreen: 1
2121
m_ShowUnitySplashLogo: 1
2222
m_SplashScreenOverlayOpacity: 1
23-
m_SplashScreenAnimation: 1
23+
m_SplashScreenAnimation: 0
2424
m_SplashScreenLogoStyle: 1
2525
m_SplashScreenDrawMode: 0
2626
m_SplashScreenBackgroundAnimationZoom: 1
@@ -39,7 +39,9 @@ PlayerSettings:
3939
y: 0
4040
width: 1
4141
height: 1
42-
m_SplashScreenLogos: []
42+
m_SplashScreenLogos:
43+
- logo: {fileID: 21300000, guid: 42548f42d682bb546ae3b916fd4518f5, type: 3}
44+
duration: 2
4345
m_VirtualRealitySplashScreen: {fileID: 0}
4446
m_HolographicTrackingLossScreen: {fileID: 0}
4547
defaultScreenWidth: 1024
@@ -124,7 +126,7 @@ PlayerSettings:
124126
16:10: 1
125127
16:9: 1
126128
Others: 1
127-
bundleVersion: 0.1
129+
bundleVersion: 0.2.21
128130
preloadedAssets: []
129131
metroInputSource: 0
130132
wsaTransparentSwapchain: 0
@@ -167,7 +169,8 @@ PlayerSettings:
167169
resolutionScalingMode: 0
168170
androidSupportedAspectRatio: 1
169171
androidMaxAspectRatio: 2.1
170-
applicationIdentifier: {}
172+
applicationIdentifier:
173+
Android: br.com.ExpressoBits.OpenKnife
171174
buildNumber: {}
172175
AndroidBundleVersionCode: 1
173176
AndroidMinSdkVersion: 19
@@ -244,12 +247,12 @@ PlayerSettings:
244247
clonedFromGUID: 9870af204204ab84596f8a656f2f2ce6
245248
templatePackageId: [email protected]
246249
templateDefaultScene: Assets/Scenes/SampleScene.unity
247-
AndroidTargetArchitectures: 1
250+
AndroidTargetArchitectures: 3
248251
AndroidSplashScreenScale: 0
249252
androidSplashScreen: {fileID: 0}
250253
AndroidKeystoreName:
251254
AndroidKeyaliasName:
252-
AndroidBuildApkPerCpuArchitecture: 0
255+
AndroidBuildApkPerCpuArchitecture: 1
253256
AndroidTVCompatibility: 0
254257
AndroidIsGame: 1
255258
AndroidEnableTango: 0
@@ -263,8 +266,113 @@ PlayerSettings:
263266
androidGamepadSupportLevel: 0
264267
AndroidValidateAppBundleSize: 1
265268
AndroidAppBundleSizeToValidate: 100
266-
m_BuildTargetIcons: []
267-
m_BuildTargetPlatformIcons: []
269+
m_BuildTargetIcons:
270+
- m_BuildTarget:
271+
m_Icons:
272+
- serializedVersion: 2
273+
m_Icon: {fileID: 2800000, guid: 1a5486e7aabdb714bb37a9895a12f201, type: 3}
274+
m_Width: 128
275+
m_Height: 128
276+
m_Kind: 0
277+
m_BuildTargetPlatformIcons:
278+
- m_BuildTarget: Android
279+
m_Icons:
280+
- m_Textures: []
281+
m_Width: 192
282+
m_Height: 192
283+
m_Kind: 1
284+
m_SubKind:
285+
- m_Textures: []
286+
m_Width: 144
287+
m_Height: 144
288+
m_Kind: 1
289+
m_SubKind:
290+
- m_Textures: []
291+
m_Width: 96
292+
m_Height: 96
293+
m_Kind: 1
294+
m_SubKind:
295+
- m_Textures: []
296+
m_Width: 72
297+
m_Height: 72
298+
m_Kind: 1
299+
m_SubKind:
300+
- m_Textures: []
301+
m_Width: 48
302+
m_Height: 48
303+
m_Kind: 1
304+
m_SubKind:
305+
- m_Textures: []
306+
m_Width: 36
307+
m_Height: 36
308+
m_Kind: 1
309+
m_SubKind:
310+
- m_Textures: []
311+
m_Width: 432
312+
m_Height: 432
313+
m_Kind: 2
314+
m_SubKind:
315+
- m_Textures: []
316+
m_Width: 324
317+
m_Height: 324
318+
m_Kind: 2
319+
m_SubKind:
320+
- m_Textures: []
321+
m_Width: 216
322+
m_Height: 216
323+
m_Kind: 2
324+
m_SubKind:
325+
- m_Textures: []
326+
m_Width: 162
327+
m_Height: 162
328+
m_Kind: 2
329+
m_SubKind:
330+
- m_Textures: []
331+
m_Width: 108
332+
m_Height: 108
333+
m_Kind: 2
334+
m_SubKind:
335+
- m_Textures: []
336+
m_Width: 81
337+
m_Height: 81
338+
m_Kind: 2
339+
m_SubKind:
340+
- m_Textures:
341+
- {fileID: 0}
342+
m_Width: 192
343+
m_Height: 192
344+
m_Kind: 0
345+
m_SubKind:
346+
- m_Textures:
347+
- {fileID: 0}
348+
m_Width: 144
349+
m_Height: 144
350+
m_Kind: 0
351+
m_SubKind:
352+
- m_Textures:
353+
- {fileID: 0}
354+
m_Width: 96
355+
m_Height: 96
356+
m_Kind: 0
357+
m_SubKind:
358+
- m_Textures:
359+
- {fileID: 0}
360+
m_Width: 72
361+
m_Height: 72
362+
m_Kind: 0
363+
m_SubKind:
364+
- m_Textures:
365+
- {fileID: 0}
366+
m_Width: 48
367+
m_Height: 48
368+
m_Kind: 0
369+
m_SubKind:
370+
- m_Textures:
371+
- {fileID: 2800000, guid: 1a5486e7aabdb714bb37a9895a12f201, type: 3}
372+
m_Width: 36
373+
m_Height: 36
374+
m_Kind: 0
375+
m_SubKind:
268376
m_BuildTargetBatching:
269377
- m_BuildTarget: Standalone
270378
m_StaticBatching: 1
@@ -585,6 +693,7 @@ PlayerSettings:
585693
scriptingDefineSymbols: {}
586694
platformArchitecture: {}
587695
scriptingBackend:
696+
Android: 1
588697
Standalone: 1
589698
il2cppCompilerConfiguration: {}
590699
managedStrippingLevel: {}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# OpenKnife
22

33
# Bem-vindo ao Open Knife 👋
4-
![Version](https://img.shields.io/badge/version-0.9.1-blue.svg?cacheSeconds=2592000)
4+
![Version](https://img.shields.io/badge/version-0.2.2-blue.svg?cacheSeconds=2592000)
55
[![Documentation](https://img.shields.io/badge/documentation-yes-brightgreen.svg)](todo-doc)
66
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](MIT)
77
[![Twitter: ScriptsEngineer](https://img.shields.io/twitter/follow/ScriptsEngineer.svg?style=social)](https://twitter.com/ScriptsEngineer)

0 commit comments

Comments
 (0)