From 4feecb8d3b944b99c68d39a5a3327c002791b28d Mon Sep 17 00:00:00 2001 From: "a.gorbunov" <0alexgorbynov0@gmail.com> Date: Wed, 29 May 2024 14:59:19 +0300 Subject: [PATCH] Disable turn off screens, change project name. --- Assets/Scripts/ActivateAllDisplays.cs | 2 ++ ProjectSettings/ProjectSettings.asset | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Assets/Scripts/ActivateAllDisplays.cs b/Assets/Scripts/ActivateAllDisplays.cs index 9ea64905..3cca01e7 100644 --- a/Assets/Scripts/ActivateAllDisplays.cs +++ b/Assets/Scripts/ActivateAllDisplays.cs @@ -6,6 +6,8 @@ public class ActivateAllDisplays : MonoBehaviour { private void Start() { + Screen.sleepTimeout = SleepTimeout.NeverSleep; + Debug.Log("displays connected: " + Display.displays.Length); for (int i = 1; i < Display.displays.Length; i++) { diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index 414a30aa..36dccb33 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -12,8 +12,8 @@ PlayerSettings: targetDevice: 2 useOnDemandResources: 0 accelerometerFrequency: 60 - companyName: DefaultCompany - productName: VR Project 3 + companyName: Bogg.Art + productName: Piter_VR defaultCursor: {fileID: 0} cursorHotspot: {x: 0, y: 0} m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} @@ -267,7 +267,7 @@ PlayerSettings: androidMaxAspectRatio: 2.1 applicationIdentifier: Android: com.DefaultCompany.VRProject3 - Standalone: com.DefaultCompany.VR-Project-3 + Standalone: com.Bogg.Art.Piter-VR buildNumber: Standalone: 0 iPhone: 0