|
void | Awake () |
| Initialize the singleton object references. More...
|
|
void | Init () |
| Initialize variables after the object has been returned from the object pooler. More...
|
|
void | MovePieces (Vector3 startPosition, Transform targetTransform, TweenTo[] pieces) |
| Start the process of moving pieces. More...
|
|
◆ Awake()
void PiecesTravelToController.Awake |
( |
| ) |
|
Initialize the singleton object references.
◆ Init()
void PiecesTravelToController.Init |
( |
| ) |
|
Initialize variables after the object has been returned from the object pooler.
◆ MovePieces()
void PiecesTravelToController.MovePieces |
( |
Vector3 |
startPosition, |
|
|
Transform |
targetTransform, |
|
|
TweenTo [] |
pieces |
|
) |
| |
Start the process of moving pieces.
- Parameters
-
startPosition | The position the pieces should originate from. |
targetTransform | The transform of the player that should have the pieces move to. |
pieces | The pieces created from the ball. |
◆ circleJitter
float PiecesTravelToController.circleJitter |
Each piece will move around slightly at the bigger radius, the jitter determines how much it will be offset from the desired position.
◆ circleJitterTime
float PiecesTravelToController.circleJitterTime |
The amount of time the piece should stay in the larger radius before moving to the player.
◆ circleMoveTime
float PiecesTravelToController.circleMoveTime |
The amount of time it takes to move the pieces to the bigger radius.
◆ endMovementTime
float PiecesTravelToController.endMovementTime |
The amount of time it takes to move the pieces to the player.
◆ playerNumber
int PiecesTravelToController.playerNumber |
The player number that the pieces should move to.
◆ radius
float PiecesTravelToController.radius |
The new radius the peices should expand to.
◆ rotationSpeedRange
float PiecesTravelToController.rotationSpeedRange |
Pieces will rotate slightly as it moves to the player. This is the range of rotation velocity.
◆ timeBeforeEndMovement
float PiecesTravelToController.timeBeforeEndMovement |
The amount of time to stay in the larger radius before moving to the player.
The documentation for this class was generated from the following file: