Unity3D Game Engine – Combination of Keys Pressed – Javascript
KeyCombinationCheck.js
#pragma strict function Update() { if((Input.GetKey("e"))&&(Input.GetKeyDown("1"))) { print("You have pressed e+1"); } }
Unity3D Game Engine – Combination of Keys Pressed – Javascript
KeyCombinationCheck.js
#pragma strict function Update() { if((Input.GetKey("e"))&&(Input.GetKeyDown("1"))) { print("You have pressed e+1"); } }
Copyright notice: any total or partial reproduction of the content is forbidden without previous authorisation by the Author. Copyright ©2013-2024, all rights reserved.
Comments are closed.