Exemplo n.º 1
0
 // Update is called once per frame
 void Update()
 {
     moveable.MoveLeft(Input.GetKey(inputManager.left));
     moveable.MoveRight(Input.GetKey(inputManager.right));
     moveable.MoveUp(Input.GetKey(inputManager.up));
     moveable.MoveDown(Input.GetKey(inputManager.down));
 }
Exemplo n.º 2
0
 void MoveLeftTrigger()
 {
     moveAble.MoveLeft(Input.GetKey(inputManager.left));
 }