Just wanted to know how i can have a gun select spawn the correct gun when i pick it in my loadout. what i have so far is:
if (GUILayout.Button ("Change Guns"))
{
if (GUILayout.Button ("Pistol"))
{
if (GUILayout.Button ("Test Pistol"))
{
}
}
if (GUILayout.Button ("LMG"))
{
}
if (GUILayout.Button ("Assault Rifle"))
{
}
}
↧