uLua Paddle Game v2.2.0
A paddle game for Unity made as an example use of the uLua toolkit.
|
Implements controls for ball objects. More...
Public Member Functions | |
void | AdjustAngle (float Degrees) |
Adjusts the angle of motion of the ball by the specified value. More... | |
void | Reset () |
Resets the position of the ball to its starting position and sets the ball in motion. More... | |
Properties | |
bool | IsStuck [get] |
Checks if the ball is in risk of getting stuck bouncing in a straight line back and forth (horizontally or vertically). | |
Implements controls for ball objects.
|
inline |
Adjusts the angle of motion of the ball by the specified value.
Degrees | The adjustment value (in degrees) for the angle. |
|
inline |
Resets the position of the ball to its starting position and sets the ball in motion.
This method is exposed to the API by the uLua.PaddleGame.Ball class.