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;
}
En esta página del sitio puede ver el video en línea Unity Project Initialization Template Tutorial de Duración hora minuto segunda en buena calidad , que subió el usuario KukeyMonster 11 abril 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 43 veces y le gustó 1 a los espectadores. Disfruta viendo!