コード例 #1
0
 public PlayerShipModel(
     DefinitionsData definitions,
     Rigidbody2D rigidBody,
     PlayerInputState inputState)
 {
     this.rigidBody   = rigidBody;
     this.definitions = definitions;
     this.inputState  = inputState;
 }
コード例 #2
0
 public PlayerMovementController(PlayerInputState inputState, PlayerShipModel playerShip)
 {
     this.inputState = inputState;
     this.playerShip = playerShip;
 }
コード例 #3
0
 public PlayerInputHandler(PlayerInputState inputState, Camera mainCamera)
 {
     this.inputState = inputState;
     this.mainCamera = mainCamera;
 }