void Awake()
{
DontDestroyOnLoad(this.gameObject);
#if UNITY_STANDALONE_WIN && !UNITY_EDITOR
OnWinInitSize();
{
DontDestroyOnLoad(this.gameObject);
#if UNITY_STANDALONE_WIN && !UNITY_EDITOR
OnWinInitSize();
#endif
}
void OnWinInitSize()
{
int settingSizeX = Screen.width;
int settingSizeY = Screen.height;
if (settingSizeY == 480)
{
Screen.SetResolution(640, 361, false);
}
}