mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Removed YouTube link. Links are changing. (#1957)
This commit is contained in:
parent
6f6c8b9d7e
commit
09e01fa818
@ -1,7 +1,5 @@
|
||||
# Data types
|
||||
|
||||
[![built in data types video tutorial](../images/video_tutorial.png)](https://www.youtube.com/watch?v=DIIeGYAawY0&list=PLkx8oFug638oBYF5EOwsSS-gOVBXj1dkP&index=9)
|
||||
|
||||
The client and server can pass data to each other via [Remote methods](Communications/RemoteActions.md), [State Synchronization](Sync/index.md) or via [Network Messages](Communications/NetworkMessages.md)
|
||||
|
||||
Mirror supports a number of data types you can use with these, including:
|
||||
@ -19,8 +17,6 @@ Mirror supports a number of data types you can use with these, including:
|
||||
|
||||
## Custom Data Types
|
||||
|
||||
[![built in data types video tutorial](../images/video_tutorial.png)](https://www.youtube.com/watch?v=svXHy2TGaS8&list=PLkx8oFug638oBYF5EOwsSS-gOVBXj1dkP&index=10)
|
||||
|
||||
Sometimes you don't want mirror to generate serialization for your own types. For example, instead of serializing quest data, you may want to serialize just the quest id, and the receiver can look up the quest by id in a predefined list.
|
||||
|
||||
Sometimes you may want to serialize data which uses a different type not supported by Mirror, such as DateTime or System.Uri
|
||||
|
Loading…
Reference in New Issue
Block a user