uLua v3.1.0
A Lua Modding Framework for Unity.
uLua.PaddleGame.Paddle Class Reference

Paddle object wrapper class. More...

Public Member Functions

void Reset ()
 Resets the position of the paddle to its starting position.
 

Protected Member Functions

void Awake ()
 Initialises the PaddleController component reference on awake.
 

Properties

Vector2 ContactPoint [get]
 Returns the last known contact point of the ball relative to the center of the paddle object.
 
float Scale [get, set]
 Access/set the scale of the paddle.
 
float Speed [get, set]
 Access/set the speed of the paddle.
 
Vector2 StartingPosition [get, set]
 Access/set the starting position of the paddle.
 

Detailed Description

Paddle object wrapper class.

When this object is exposed to Lua, all public members of this class will be available to use.