Commit Graph

2235 Commits

Author SHA1 Message Date
Chris Langsenkamp
5d860786ae NetworkManager 2019-07-29 12:12:01 -04:00
Chris Langsenkamp
872da7ed34 NetworkManager 2019-07-29 11:54:00 -04:00
Chris Langsenkamp
976dadc1a6 NetworkManager 2019-07-29 11:53:17 -04:00
Paul Pacheco
407b36acb7 perf: SceneMessage is now a value type (#989) 2019-07-29 15:52:46 +02:00
Paul Pacheco
f99e71ebdf perf: update vars is now a value type (#990) 2019-07-29 15:52:35 +02:00
Paul Pacheco
a32c5a9456 perf: objdestroy message is now a value type (#993) 2019-07-29 15:52:19 +02:00
Paul Pacheco
a49d938fbe perf: ObjHideMessage is now a value type (#992) 2019-07-29 15:52:08 +02:00
Paul Pacheco
d071438d01 perf: ClientAuthorityMessage is now a value type (#991) 2019-07-29 15:51:43 +02:00
Paul Pacheco
145edaa50b perf: empty messages are value types now 2019-07-29 08:18:17 -05:00
Paul Pacheco
35b9919d91 Revert "New Basic Example (#985)"
This reverts commit 66f7693855.
2019-07-29 08:07:06 -05:00
Paul Pacheco
81d915eb73 perf: use value types for empty messages (#988) 2019-07-29 15:04:56 +02:00
Paul Pacheco
12437ba9c2 fix: don't use obsolete method 2019-07-29 08:00:03 -05:00
Paul Pacheco
633fb19f8d perf: messages should be value types (#987) 2019-07-29 14:50:18 +02:00
Paul Pacheco
7c7c910a5e perf: avoid allocation with message structs (#939)
* avoid allocation with message structs

* Use ternary operator instead of if

* Explain witchcraft
2019-07-29 14:50:09 +02:00
Paul Pacheco
b4077c1112 feat: safer and consistent writers names (#979)
* WriteUInt16

* WriteUInt16 weaver

* WriteUInt32

* WriteUInt64

* WriteByte

* WriteSbyte

* WriteChar

* WriteBoolean

* WriteInt16

* WriteInt32

* WriteInt64

* WriteDouble

* WriteDecimal

* WriteString

* WriteBytes

* WriteVector2

* WriteVector3

* WriteVector4

* WriteVector2Int

* WriteVector3Int

* WriteColor

* WriteColor32

* WriteQuaternion

* WritePlane

* WriteRay

* WriteMatrix4x4

* WriteGuid

* WriteNetworkIdentity

* WriteTransform

* WriteGameObject

* Keep consistent line breaks

* add new define so asset maintainers can tell if the new methods are available
2019-07-29 14:44:08 +02:00
vis2k
abf06df25d fix: Telepathy updated to latest version. connectionId counter is properly reset after stopping server. 2019-07-29 14:36:18 +02:00
MrGadget
c80fe05d50
Merge pull request #986 from MrGadget1024/DocUpdate0719
Doc update0719
2019-07-29 10:28:30 +00:00
Chris Langsenkamp
be70684cf6 NetworkManager 2019-07-29 06:23:18 -04:00
Chris Langsenkamp
1b8d436b0a NetworkAnimator 2019-07-29 04:34:53 -04:00
Chris Langsenkamp
678eb5a715 NetworkConnection 2019-07-29 04:30:14 -04:00
Chris Langsenkamp
f4ab3e853c NetworkIdentity 2019-07-29 04:24:22 -04:00
Chris Langsenkamp
01d144bc62 NetworkConnection 2019-07-29 03:56:42 -04:00
Chris Langsenkamp
42f27dbc95 NetworkAnimator 2019-07-29 03:28:54 -04:00
Chris Langsenkamp
b196ea7367 NetworkBehaviour 2019-07-29 03:26:09 -04:00
Chris Langsenkamp
091c79b429 NetworkBehaviour 2019-07-29 03:21:30 -04:00
Chris Langsenkamp
572aaf4eba NetworkClient 2019-07-29 03:01:54 -04:00
Chris Langsenkamp
40c8e4ba59 NetworkBehaviour 2019-07-29 02:39:47 -04:00
Chris Langsenkamp
88bd33a478 NetworkAnimator 2019-07-29 02:17:34 -04:00
MrGadget
66f7693855 New Basic Example (#985) 2019-07-28 18:13:38 -05:00
Paul Pacheco
eb4c00f8e4 Use array initializer 2019-07-24 20:09:10 -05:00
Paul Pacheco
60dcd2acdc Syntax 2019-07-24 18:37:39 -05:00
Chris Langsenkamp
31461c212a Updated Examples Overview doc 2019-07-20 18:14:08 -04:00
MrGadget
45b711804b fix: Don't increment counter in Awake (#971)
Doing it in Awake and also before assigning to clients skips connection ID 1.
2019-07-21 00:13:01 +02:00
Chris Langsenkamp
d388c21213 Updated Examples Overview doc with descriptions 2019-07-20 18:03:28 -04:00
MrGadget
7fecfe3065 ForceReload is always true, and the only use of it requred it to be false, so it's no longer needed. (#970) 2019-07-20 09:22:56 +02:00
Chris Langsenkamp
cb3721e9ef Renamed Samples folder in docs to Examples, updated navigation accordingly, stubbed out pages for in-depth descriptions of each example. 2019-07-20 00:43:43 -04:00
MrGadget
3fb0337f8c Lobby example update (#969)
* Updated Lobby Example

* Renamed cube to visor

* Missing files from PR 957

* Code Cleanup
2019-07-19 23:40:25 -05:00
MrGadget
43d4c7ecd7 Additive example update (#968)
* Updated Additive Example

* Renamed cube to visor

* Code Cleanup
2019-07-19 23:39:50 -05:00
Chris Langsenkamp
31307ac57e Updated NetworkManager doc 2019-07-19 23:49:19 -04:00
Chris Langsenkamp
2f7b77a27d Fixed Titles 2019-07-19 20:05:55 -04:00
Chris Langsenkamp
17b61b5e6f Updated SyncVar Hook doc 2019-07-19 20:00:49 -04:00
Chris Langsenkamp
9432b84555 Updated broken link in home page 2019-07-19 03:39:14 -04:00
Chris Langsenkamp
d2439643ad Updated Remote Actions doc 2019-07-19 03:16:49 -04:00
Chris Langsenkamp
9592e559a7 Updated Customizing Network Visibility doc 2019-07-19 03:13:56 -04:00
Chris Langsenkamp
d7e7dfc6ef Updated Custom Player Spawning doc 2019-07-19 01:51:55 -04:00
MrGadget
a7fbd94bf3
Merge pull request #967 from MrGadget1024/DocUpdate0619
Doc update0619
2019-07-18 21:12:31 +00:00
Paul Pacheco
64a046803a fix: do not accumulate changes if there are no observers fixes #963 (#964)
* fix: do not accumulate changes if there are no observers #963

* Update NetworkIdentity.cs
2019-07-17 14:59:46 +02:00
vis2k
310556c430 TelepathyTransport.ServerGetClientAddress: catch IL2CPP bug to at least continue to run 2019-07-17 12:32:03 +02:00
Paul Pacheco
f5a8b8a166
Add contributors 2019-07-16 21:16:07 -05:00
Chris Langsenkamp
81f2d07e7f Updated Spawn Object Custom doc 2019-07-15 12:54:04 -04:00