Свойство | Type | Description | |
---|---|---|---|
BR | BallReset, | ||
BT | BreakTimer, | ||
BlueNeutralArea | string | ||
BlueTeamArea | string | ||
DeadBallTime | int | ||
GT | GameTimer, | ||
RedNeutralArea | string | ||
RedTeamArea | string | ||
TimerFoulTime | int | ||
ball | GameObject | ||
ballLocation | ListObjectLocation, | ||
ballPossession | Possession, |
Méthode | Description | |
---|---|---|
LineOut ( ) : void |
Calls the LineOut foul and all associated actions.
|
|
Start ( ) : void |
Initializes all of the objects and variables needed for this script.
|
|
ThrowDeadBallFoul ( ) : void |
Throw DeadBall Foul and all associated actions.
|
|
ThrowTimeFoul ( bool inRedZone ) : void |
Throw the time Foul and all associated actions.
|
|
Update ( ) : void |
Main function that checks whether a foul has been made in real time. Keeps a timer running for checking fouls.
|
Méthode | Description | |
---|---|---|
foul ( bool committedByRed, bool resetToClosest ) : void |
Activates the move of the foul and makes the Referee call play at the end.ss
|
public ThrowTimeFoul ( bool inRedZone ) : void | ||
inRedZone | bool | Whether the foul took place in the red zone or not |
Résultat | void |
public ListObjectLocation, ballLocation | ||
Résultat | ListObjectLocation, |