| TrueSync
    | 
Represents each player's behaviour simulated on every machine connected to the game. More...
 
  
 | Public Member Functions | |
| void | SetGameInfo (TSPlayerInfo localOwner, int numberOfPlayers) | 
| It is not called for instances of TrueSyncBehaviour. | |
| virtual void | OnSyncedStart () | 
| Called once when the object becomes active. | |
| virtual void | OnGamePaused () | 
| Called when the game has paused. | |
| virtual void | OnGameUnPaused () | 
| Called when the game has unpaused. | |
| virtual void | OnGameEnded () | 
| Called when the game has ended. | |
| virtual void | OnPreSyncedUpdate () | 
| Called before OnSyncedUpdate.  More... | |
| virtual void | OnSyncedUpdate () | 
| Game updates goes here.  More... | |
| virtual void | OnSyncedInput () | 
| Get local player data.  More... | |
| virtual void | OnPlayerDisconnection (int playerId) | 
| Callback called when a player get disconnected. | |
| Public Attributes | |
| int | numberOfPlayers | 
| Number of players connected to the game. | |
| int | ownerIndex = -1 | 
| Index of the owner at initial players list. | |
| TSPlayerInfo | owner | 
| Basic info about the owner of this behaviour. | |
| TSPlayerInfo | localOwner | 
| Basic info about the local player. | |
| Properties | |
| TSTransform | tsTransform  [get] | 
| Returns the TSTransform attached. | |
Represents each player's behaviour simulated on every machine connected to the game.
Definition at line 9 of file TrueSyncBehaviour.cs.
| 
 | virtual | 
Called before OnSyncedUpdate.
Called once every lockstepped frame.
Definition at line 79 of file TrueSyncBehaviour.cs.
| 
 | virtual | 
Get local player data.
Called once every lockstepped frame.
Definition at line 93 of file TrueSyncBehaviour.cs.
| 
 | virtual | 
Game updates goes here.
Called once every lockstepped frame.
Definition at line 86 of file TrueSyncBehaviour.cs.
 1.8.11
 1.8.11