Unity Project Initialization Template Tutorial

Publicado em: 11 Abril 2023
no canal de: KukeyMonster
43
1

This is for my Teachback GAM370 class.
If this helped you feel free to share and like the video!

===============================================================

CHAPTERS
0:00 Starting up a project
1:00 Creating our Init Scene
3:00 Scripting our Init Scene
6:48 Creating our MainMenu Scene
7:12 Scripting our MainMenu
16:13 Designing the UI for our MainMenu
18:15 Dealing with Unity Crashing
19:45 Back to Designing our UI for MainMenu
22:55 Scripting our OptionsMenu
1:00:35 Designing the UI for our OptionsMenu
1:21:42 Fixing Bugs made throughout the tutorial

===============================================================
I figured out what happened in Load Settings()
This is the incorrect script!
if (PlayerPrefs.HasKey("ResolutionPreference"))
{
qualityDropdown.value = PlayerPrefs.GetInt("ResolutionPreference");
}
else
{
resolutionDropdown.value = currentResolutionIndex;
}

if (PlayerPrefs.HasKey("TexturQualityPreference"))
{
qualityDropdown.value = PlayerPrefs.GetInt("TexturQualityPreference");
}
else
{
textureDropdown.value = 0;
}

if (PlayerPrefs.HasKey("AntiAliasingPreference"))
{
qualityDropdown.value = PlayerPrefs.GetInt("AntiAliasingPreference");
}
else
{
aaDropdown.value = 1;
}
===============================================================
This is correct!
if (PlayerPrefs.HasKey("ResolutionPreference"))
{
resolutionDropdown.value = PlayerPrefs.GetInt("ResolutionPreference");
}
else
{
resolutionDropdown.value = currentResolutionIndex;
}

if (PlayerPrefs.HasKey("TexturQualityPreference"))
{
textureDropdown.value = PlayerPrefs.GetInt("TexturQualityPreference");
}
else
{
textureDropdown.value = 0;
}

if (PlayerPrefs.HasKey("AntiAliasingPreference"))
{
aaDropdown.value = PlayerPrefs.GetInt("AntiAliasingPreference");
}
else
{
aaDropdown.value = 1;
}


Nesta página do site você pode assistir ao vídeo on-line Unity Project Initialization Template Tutorial duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário KukeyMonster 11 Abril 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 43 vezes e gostou 1 espectadores. Boa visualização!