Minor - V0.1.0 - Add assets and setup the env for android handheld

This commit is contained in:
2026-02-01 23:25:01 +01:00
parent b21f1cf48b
commit 76132c2cbe
241 changed files with 189835 additions and 1350 deletions

View File

@@ -0,0 +1,42 @@
using UnityEngine;
namespace script
{
public class GameManager : MonoBehaviour
{
private static GameManager _instance;
private void Awake()
{
if (_instance != null && _instance != this)
{
Destroy(this.gameObject);
}
else
{
_instance = this;
DontDestroyOnLoad(this.gameObject);
}
#if UNITY_ANDROID
{
Screen.orientation = ScreenOrientation.LandscapeLeft;
var refreshRate = Screen.currentResolution.refreshRateRatio.numerator;
Application.targetFrameRate = 10000; //(int)refreshRate;
}
#endif
}
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 05db99b32de928246a0a6fac6552f575