コード例 #1
0
 public void Dispose()
 {
     _inputController.UnregisterListener(EBlockMotionEvent.MoveForward, OnMoveForward);
     _inputController.UnregisterListener(EBlockMotionEvent.MoveBackward, OnMoveBackward);
     _inputController.UnregisterListener(EBlockMotionEvent.MoveLeft, OnMoveLeft);
     _inputController.UnregisterListener(EBlockMotionEvent.MoveRight, OnMoveRight);
 }
コード例 #2
0
 public void Dispose()
 {
     _inputController.UnregisterListener(EBlockMotionEvent.RotateRight, OnRotateRight);
     _inputController.UnregisterListener(EBlockMotionEvent.RotateLeft, OnRotateLeft);
     _inputController.UnregisterListener(EBlockMotionEvent.RotateDown, OnRotateDown);
     _inputController.UnregisterListener(EBlockMotionEvent.RotateUp, OnRotateUp);
 }