Property | Type | Description | |
---|---|---|---|
ball | GameObject | ||
breakText | Text |
Method | Description | |
---|---|---|
OnBreak ( ) : bool |
Allows outside scripts to check if there is a break occurring
|
|
StartBreak ( GameBreak, type ) : void |
On the server, initiate the given type of break
|
Method | Description | |
---|---|---|
BreakChange ( bool breakStarted ) : void |
On the clients, change the break flag and the ball constraints accordingly
|
|
EndBreak ( ) : void |
On the server, end the current break
|
|
Start ( ) : void |
Retrieve the necessary object and script references
|
|
Update ( ) : void |
Checks if the break has ended or displays the amount of time left on the current break
|
public StartBreak ( GameBreak, type ) : void | ||
type | GameBreak, | The type of break that is necessary to start |
return | void |