Пример #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));
 }
Пример #2
0
 void MoveDownTrigger()
 {
     moveAble.MoveDown(Input.GetKey(inputManager.down));
 }