Свойство | Type | Description | |
---|---|---|---|
portCannons | List |
||
shuntingForce | float | ||
starboardCannons | List |
Свойство | Type | Description | |
---|---|---|---|
ApplyShunt | void | ||
FireCannons | void | ||
Start | void | ||
Update | void |
Méthode | Description | |
---|---|---|
Awake ( ) : void | ||
FixedUpdate ( ) : void | ||
PlayerInputs ( bool a_leftBumper, bool a_rightBumper ) : void |
Helper function, to pass current state of player's input into this component
|
Méthode | Description | |
---|---|---|
ApplyShunt ( |
Applies a shunt to the player's ship in a given direction
|
|
FireCannons ( bool a_fireStarboard ) : void |
Fire a set of boardside cannons
|
|
Start ( ) : void | ||
Update ( ) : void |
public PlayerInputs ( bool a_leftBumper, bool a_rightBumper ) : void | ||
a_leftBumper | bool | Current state of left bumper for this player |
a_rightBumper | bool | Current state of right bumper for this player |
Résultat | void |