Unity Project Initialization Template Tutorial

Published: 11 April 2023
on channel: 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;
}


On this page of the site you can watch the video online Unity Project Initialization Template Tutorial with a duration of hours minute second in good quality, which was uploaded by the user KukeyMonster 11 April 2023, share the link with friends and acquaintances, this video has already been watched 43 times on youtube and it was liked by 1 viewers. Enjoy your viewing!