Commit Graph

8 Commits (593afca4d110ec315703fb0144ab51f36cac7198)

Author SHA1 Message Date
Anton Franzluebbers 54932afdbb NetworkSerializedObjectStream is now SyncState, added UndoGroup concept that takes any number of SyncState components and can save and reload snapshots, don't create garbage by recreating MemoryStream and Reader/Writer every time 2023-08-11 00:45:21 -04:00
Anton Franzluebbers 2f20f79e89 added takeownership editor button, improved samples, add IPackState interface to serialization scripts 2023-08-03 13:07:40 -04:00
Anton Franzluebbers e3b4ae659c correct conversion of messages to binary (maybe) 2022-01-25 22:50:30 -05:00
Anton Franzluebbers a61796e28d moved message encoding to binary instead of string 2022-01-25 21:28:35 -05:00
Anton Franzluebbers 08a1a72348 added hybrid onchange compression to serializedobject helpers 2022-01-24 21:32:09 -05:00
Anton Franzluebbers 3fc3d82c52 fixed some more errors related to not cleaning up properly when switching rooms, catch more errors to prevent everything from breaking at once if the user makes an error, added NetworkSerializedObjectStream to avoid needing to initialize binary readers, updated example to include a shared textbox and leave room button 2022-01-13 01:10:53 -05:00
Anton Franzluebbers 7e2fbbe6c6 added mouse dragging script for testing, move networkdestroy and takeownership to static methods in the manager so not everybody needs references to the player, added a custom inspector to NetworkObject for showing owner and a button for automatically finding and assigning networkcomponents, better interpolation for synctransform based on serialization rate, synctransform can send local transforms, find new scene objects on scene load 2022-01-11 22:42:57 -05:00
Anton Franzluebbers 260cd891db fixed group messages, fixed some errors with players leaving 2022-01-07 19:20:21 -05:00