uLua Paddle Game v2.2.0
A paddle game for Unity made as an example use of the uLua toolkit.
|
Implements controls for paddle objects. More...
Public Member Functions | |
void | Reset () |
Resets the position of the paddle to its starting position. More... | |
void | UpdateContactPoint (ContactPoint2D Contact) |
Updates the ContactPoint vector based on a detected collision. More... | |
Properties | |
float | Scale [get, set] |
Access/set the scale of the Paddle object. | |
Implements controls for paddle objects.
|
inline |
Resets the position of the paddle to its starting position.
This method is exposed to the API by the uLua.PaddleGame.Paddle class.
|
inline |
Updates the ContactPoint vector based on a detected collision.
Contact | The ContactPoint2D of the collision with the ball object. |