Networking a list of strings
Hi!
I am trying to have a list of strings synchronised over the network, however I cant find the code for such a thing.
NetworkLinkedList, this seems to only work for ints.
[Networked], I believe this works just for simple variables and not lists.
I have tried putting [Networked] strings into a list but that also for some reason didnt work.
Best Answer
-
I would stick to NetworkString<Size> rather than strings.
https://doc.photonengine.com/fusion/current/manual/network-collections
This document isn't live at the moment (pending review) but it covers just this topic, and the example shown is for a list of strings. Hopefully this helps.
0
Answers
-
I would stick to NetworkString<Size> rather than strings.
https://doc.photonengine.com/fusion/current/manual/network-collections
This document isn't live at the moment (pending review) but it covers just this topic, and the example shown is for a list of strings. Hopefully this helps.
0