DoopelPonger
|
Makes MrPaddle move up and down slowly to make things a little more lively. More...
Public Member Functions | |
void | Awake () |
Initialize all references and values needed. More... | |
void | FixedUpdate () |
Move MrPaddle up and down along the y axis. More... | |
Public Attributes | |
float | yDisplacement |
float | yMovementSpeed |
Makes MrPaddle move up and down slowly to make things a little more lively.
void MrPaddleMoveUpAndDown.Awake | ( | ) |
Initialize all references and values needed.
void MrPaddleMoveUpAndDown.FixedUpdate | ( | ) |
Move MrPaddle up and down along the y axis.
float MrPaddleMoveUpAndDown.yDisplacement |
The max distance to move on the y axis.
float MrPaddleMoveUpAndDown.yMovementSpeed |
The speed it takes to move along the y axis.