choltfo / Scripts

An FPS-game system for Unity3D
1 stars 3 forks source link

No way to change controls. #11

Open choltfo opened 11 years ago

choltfo commented 11 years ago

The pause screen needs a controls menu that links into the controls class. Ian, I think you can do this one.

ghost commented 11 years ago

I'll do my best

choltfo commented 11 years ago

I found something useful: http://docs.unity3d.com/Documentation/ScriptReference/Event.html http://docs.unity3d.com/Documentation/ScriptReference/GUI.GetNameOfFocusedControl.html and http://docs.unity3d.com/Documentation/ScriptReference/GUI.SetNextControlName.html

That oughtta help.

choltfo commented 11 years ago

Found our problem: GetKeyDown, and the rest of Input, only updates every frame. We need something more annoying.