Unity Project Initialization Template Tutorial

Pubblicato il: 11 aprile 2023
sul canale di: 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;
}


In questa pagina del sito puoi guardare il video online Unity Project Initialization Template Tutorial della durata di ore minuti seconda in buona qualità , che l'utente ha caricato KukeyMonster 11 aprile 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 43 volte e gli è piaciuto 1 spettatori. Buona visione!