- Home /
need help with buttons!!
i want to change the keyboard controls to a button help i have made a button texture that i have attached to the main camera but can't figure out how to change the controls. PLEASE HELP thanks
using UnityEngine; using System.Collections;
public class InputControls { public KeyCode ActivateKey = KeyCode.E ; public KeyCode QuestLog = KeyCode.J; public KeyCode Character = KeyCode.C; public KeyCode Inventory = KeyCode.I; public KeyCode Spellbook = KeyCode.K; public KeyCode GrabItem = KeyCode.G; }
c sharp btw
Comment
Your answer
