Commit Graph

11 Commits

Author SHA1 Message Date
vis2k
13e2dcccd9
breaking: SyncList.Callback passes old and new entries instead of only passing one entry which is sometimes the old, sometimes the new entry. This is more consistent and it's very useful to know the previous value in a hook for OP_SET and OP_DIRTY. (#1273)
* feature: SyncList.Callback passes old and new entries instead of only passing one entry which is sometimes the old, sometimes the new entry. This is more consistent and it's very useful to know the previous value in a hook for OP_SET and OP_DIRTY.

* update tests

* update docs
2019-12-03 08:35:41 +01:00
Paul Pacheco
706fc23127 docs: explain what sync to owner does 2019-11-28 10:20:29 -06:00
Paul Pacheco
f5e2fd49ff docs: suggest custom data types instead of overriding OnSerialize 2019-11-28 10:01:44 -06:00
Chris Langsenkamp
ca0ec5e36c Doc formatting 2019-11-27 21:48:41 -05:00
Paul Pacheco
e02200c5fa docs: document how inheritance works with syncvars 2019-11-27 19:30:43 -06:00
gestewa
2f1458f3ff
Update index.md
Typo found in documentation, OnDeSerialize -> OnDeserialize
2019-11-24 13:59:17 -08:00
Paul Pacheco
d6f07cd8ac docs: it is safe to update a syncvar inside it's hook 2019-10-27 10:18:15 -05:00
Chris Langsenkamp
c6251bc15b SyncVar Limit is 64 per NetworkBehaviour 2019-10-03 08:13:39 -04:00
Chris Langsenkamp
4306e08eb5 updated code snip 2019-10-02 13:48:58 -04:00
Chris Langsenkamp
e71dd77f80 fixed code sample 2019-09-25 20:12:59 -04:00
Chris Langsenkamp
964c88e4be Eliminated Classes section 2019-09-20 23:34:03 -04:00