예제 #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));
 }