|
Post by silverflame on Dec 26, 2016 22:16:15 GMT
![](http://thumb.ibb.co/mvjtfa/Input_Manager.jpg) When switching from keyboard to 360 controller I need a way to change the Gameplay Input Style from "Click and Move" to "Directional Input" just like when I change the drop-down selection during Play Mode. Any tips on how to do this?
|
|
|
Post by thegreatest95 on Dec 27, 2016 2:24:45 GMT
![](http://i.imgur.com/gKy4NSA.png) Found it for you. ^_^
|
|
|
Post by silverflame on Dec 27, 2016 4:34:35 GMT
Thank you so much!
In case anyone else is interested, just to confirm it works I inserted a line in the vThirdPersonInput script under the <protected virtual void UpdateCameraStates()> region:
if (Input.GetKeyDown (KeyCode.V)) { gameplayInputStyle = GameplayInputStyle.DirectionalInput; }
So when I pressed the "V" key it switched from Click And Move to Directional Input as expected.
|
|
|
Post by Invector on Dec 27, 2016 14:06:25 GMT
C00l, I never thought on doing that lol
You also can create a new CameraState to change the view for topdown/isometric when change the input
|
|