Quantcast
Channel: Questions in topic: "gun"
Viewing all articles
Browse latest Browse all 592

C# How to have a gun select

$
0
0
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")) { } }

Viewing all articles
Browse latest Browse all 592

Trending Articles