Home Collaboration & Unpaid Work

Unity 3d NEED SIMPLE CODE FOR SIMPLE ACTION

manilamerc
polycounter lvl 6
Offline / Send Message
manilamerc polycounter lvl 6
Hey guys I do not much about coding but here is what I want

Create a script to simulate key presses
– Enter a value through the inspector so the output
changes accordingly
• Users enters 65, print(“Pistol”);
• Users enters 66, print(“Shotgun”);
– If the same value is entered twice for a key, switch to
a secondary weapon
• Create the logic for this and to test it, turn off the ‘Clear on
Play’ option for the output


If you guys could send me a code for this that would be great
Sign In or Register to comment.