Disable turn off screens, change project name.

This commit is contained in:
a.gorbunov 2024-05-29 14:59:19 +03:00
parent b7d4393d0c
commit 4feecb8d3b
2 changed files with 5 additions and 3 deletions

View File

@ -6,6 +6,8 @@ public class ActivateAllDisplays : MonoBehaviour
{ {
private void Start() private void Start()
{ {
Screen.sleepTimeout = SleepTimeout.NeverSleep;
Debug.Log("displays connected: " + Display.displays.Length); Debug.Log("displays connected: " + Display.displays.Length);
for (int i = 1; i < Display.displays.Length; i++) for (int i = 1; i < Display.displays.Length; i++)
{ {

View File

@ -12,8 +12,8 @@ PlayerSettings:
targetDevice: 2 targetDevice: 2
useOnDemandResources: 0 useOnDemandResources: 0
accelerometerFrequency: 60 accelerometerFrequency: 60
companyName: DefaultCompany companyName: Bogg.Art
productName: VR Project 3 productName: Piter_VR
defaultCursor: {fileID: 0} defaultCursor: {fileID: 0}
cursorHotspot: {x: 0, y: 0} cursorHotspot: {x: 0, y: 0}
m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1}
@ -267,7 +267,7 @@ PlayerSettings:
androidMaxAspectRatio: 2.1 androidMaxAspectRatio: 2.1
applicationIdentifier: applicationIdentifier:
Android: com.DefaultCompany.VRProject3 Android: com.DefaultCompany.VRProject3
Standalone: com.DefaultCompany.VR-Project-3 Standalone: com.Bogg.Art.Piter-VR
buildNumber: buildNumber:
Standalone: 0 Standalone: 0
iPhone: 0 iPhone: 0