I have a board that is managed by the server
I couldn't make SyncList<T> work so i started working with SyncListStruct as it seems better performance wise.
I have these classes -
SyncListStruct<SquareStruct> - inner class synced only to host
I couldn't make SyncList<T> work so i started working with SyncListStruct as it seems better performance wise.
I have these classes -
Code (CSharp):
- public struct SquareStruct
- {
- public int slots;
- public int playerNumber;
- public int locationX;
- public int locationY;
- public List<Building> buildings;
- }
- public class Building
- {
- public BuildingType building;
- public int level;
- }
- public class SquareList :...