Метод | Описание | |
---|---|---|
OnDeserialize ( NetworkReader reader, bool initialState ) : void |
All Clients: Deserialize the state from network
|
|
OnSerialize ( |
Server: Serialize the state over network
|
Метод | Описание | |
---|---|---|
ServerStateReceived ( int clientInputState ) : void |
Server: Called when a state from client was received and update finished
|
|
Start ( ) : void |
public OnDeserialize ( NetworkReader reader, bool initialState ) : void | ||
reader | NetworkReader | |
initialState | bool | |
Результат | void |
public OnSerialize ( |
||
writer | ||
initialState | bool | |
Результат | bool |