Chris Langsenkamp
9ffc6f2e44
NetworkLobbyPlayer
2019-07-29 18:20:51 -04:00
Chris Langsenkamp
96f4e2cc28
NetworkLobbyManager
2019-07-29 18:15:20 -04:00
Chris Langsenkamp
ed90b7dc3d
NetworkTransformChild
2019-07-29 17:15:03 -04:00
Chris Langsenkamp
55decc95f7
NetworkProximityChecker
2019-07-29 16:22:22 -04:00
Chris Langsenkamp
1b8d436b0a
NetworkAnimator
2019-07-29 04:34:53 -04:00
Chris Langsenkamp
42f27dbc95
NetworkAnimator
2019-07-29 03:28:54 -04:00
Chris Langsenkamp
88bd33a478
NetworkAnimator
2019-07-29 02:17:34 -04:00
Paul Pacheco
60dcd2acdc
Syntax
2019-07-24 18:37:39 -05:00
MrGadget
b0b57a23cc
Lobby example update ( #960 )
...
* Updated Lobby Example
* Renamed cube to visor
* Missing files from PR 957
2019-07-12 09:04:30 +02:00
gyststarblayze
3ec3d02362
fix : #840 by allowing Mirror to respect the forceHidden flag ( #893 )
...
* fix : #840 by allowing Mirror to respect the forceHidden flag on NetworkProximityChecker
* Update NetworkProximityChecker.cs
2019-06-06 08:39:35 +02:00
vis2k
9ff7feda9a
NetworkTransform.DrawLineBetweenDataPoints actually uses the color parameter now
2019-06-04 10:56:38 +02:00
vis2k
36be83d6fd
NetworkTransform: use local position and rotation for VR support. Fixes #779
2019-06-04 10:56:38 +02:00
Alexander Seeck
fc181cb4ab
ASMDEF for Examples ( #850 )
...
* updated readme
* added asmdefs
* removed wrong change
2019-05-29 16:41:14 +02:00
MichalPetryka
42a8f2afab
Remove conditional accesses on unity objects ( #880 )
2019-05-24 09:11:38 +02:00
MrGadget
705194023c
Remove all "private" ( #807 )
2019-04-14 09:43:03 +02:00
MrGadget
3846e2f904
Fixed Lobby ( #765 )
2019-04-07 21:48:17 +02:00
rodolphito
cdeed8b558
Remove prefixes in NetworkAnimator. ( #710 )
2019-04-04 09:48:52 +02:00
rodolphito
77e5de7352
Renamed m_VisUpdateTime lastUpdateTime ( #711 )
2019-04-04 09:48:28 +02:00
MrGadget
377c47ce74
fix: Lobby Remove button not showing for P1 when Server Only
2019-04-03 00:16:23 -04:00
vis2k
ab44ac8f8b
fix : #692 by always adding connectionToClient when rebuilding observers
2019-04-01 17:19:47 +02:00
Paul Pacheco
480af1aa6c
perf: Pack small 32 bit negatives efficiently
2019-03-31 07:16:51 -05:00
Paul Pacheco
a8599c1af2
feat: Show compile time error if overriding unused OnServerAddPlayer ( #682 )
...
* remove obsolete OnServerAddPlayer
BREAKING CHANGE: Remove obsolete OnServerAddPlayer
Any person that overrides this method has a broken game. These methods are never called anywhere.
The user gets a warning because they are overriding an obsolete method, which might get ignored if they have lots of other warnings. They would run their game and their game would not work at all. No errors.
By removing these methods, users that override these methods will get a compile time error instead. So they cannot ignore this error and they will fix it.
* Method is no longer available in NetworkLobbyManager
2019-03-28 11:36:13 +01:00
uwee
f4cdfbf952
Remove IsClientConnected ( #663 )
...
* remove IsClientConnected
no longer needed now that NetworkClient is static
* removed in other scripts also
* marked as obsolete
2019-03-27 09:15:03 +01:00
MrGadget
d2868646fa
SyncVar Updates ( #660 )
...
* Change SyncVar hooks to use `nameof`
I intentionally left the test for missing hook as a literal string because it won't compile otherwise.
* Removed unnecessary property value set from hook
2019-03-26 15:40:28 +01:00
vis2k
9bc1dc1e85
NetworkClient class made static
2019-03-26 12:16:57 +01:00
vis2k
180d3f8cf4
NetworkClient.isConnected made static
2019-03-26 12:16:57 +01:00
vis2k
882a7d5ba8
NetworkClient.connection made static
2019-03-26 12:16:57 +01:00
rodolphito
3a8fa3f571
Remove internal access modifier. ( #658 )
2019-03-26 12:09:43 +01:00
rodolphito
a96417112d
Use ulong instead of uint to support up to 64 animator parameters. ( #655 )
...
* Use ulong instead of uint to support up to 64 animator parameters.
* Split onto new line as Paul asked
2019-03-26 07:57:51 +01:00
rodolphito
d483901432
Use PackedUInt for dirty bits for bandwidth ( #649 )
2019-03-25 13:13:14 +01:00
rodolphito
6120a8e082
Removed unused parameter from NetworkAnimator. ( #648 )
2019-03-25 08:07:45 +01:00
rodolphito
1e5fc3cde5
Made dirty bits not rely on NetworkWriter position manipulation hackery. ( #636 )
...
* Made dirty bits not rely on NetworkWriter position manipulation hackery.
* Renamed GetDirtyBits to NextDirtyBits, as discussed with Paul.
* Expanded one line ifs.
2019-03-24 12:43:39 -05:00
rodolphito
b3595d3f5d
Code simplification and optimization. ( #635 )
2019-03-24 10:47:14 +01:00
rodolphito
fea46b801d
Remove NetworkAnimatorEditor and animator parameter mask. ( #633 )
2019-03-24 09:39:51 +01:00
vis2k
5c00577746
fix : #609 by spawning observers in NetworkServer.AddPlayerForConnection after setting the controller. There is no point in trying to spawn with a null controller in SetReady, because by definition no one can observer something that is null. ( #623 )
2019-03-22 12:50:35 +01:00
Zac North
c9eac57ce8
fix: OnClientReady is called and passed the appropriate ready state value in NetworkLobbyPlayer ( #618 )
2019-03-21 02:27:25 -05:00
Anthony Eckert
00961ccc9c
feature: Add NoRotation to NetworkTransform ( #616 )
...
This allows you to leave rotation out of the NetworkTransform if you only need position.
Right now if you don't need sync rotation and set compression to Lots, it can move your object in ways not expected. This forces you to use no compression as a fix. Using more bandwidth for something you don't need. I think this is all that is needed, tested it in my game and it works.
2019-03-19 23:46:33 -05:00
MrGadget
54c964c232
Made Lists available to inheritors ( #603 )
...
* Made Lists available to inheritors
* Update NetworkLobbyManager.cs
Made them public
2019-03-16 15:47:33 +01:00
MrGadget
dc0b8d406a
NetworkLobbyManager: Added Obsoleted Method ( #591 )
2019-03-13 15:49:11 +01:00
Liu
dea7b58792
Fix network animator doesn't sync float value as expected ( #589 )
...
Maybe we should do float sync when the Abs of newValue - lastValue > 0.001f
2019-03-13 12:15:34 +01:00
rodolphito
dd362b18a0
Fixed the NetworkAnimator issue I introduced in the bandwidth fix. This should also further improve bandwidth, too. ( #576 )
2019-03-11 08:54:46 +01:00
rodolphito
ca7824bbc1
Fixed animator bandwidth problem. ( #536 )
...
* Fixed animator bandwidth problem.
* Renamed xShadowCopy to lastXParamters, renamed val to be consistent with the reading value names, renamed newValue to newIntValue to be consistent with newFloatValue and newBoolValue.
* Removed Debug.log which slipped by.
2019-03-06 22:52:26 +01:00
MichalPetryka
9afefbdce7
Adjusted line endings, encoding and trimmed whitespaces at EOL ( #561 )
2019-03-06 18:08:48 +01:00
rodolphito
896551eb00
Finished replacing comment walls with regions. ( #558 )
2019-03-06 10:53:35 -06:00
rodolphito
ca57f1180c
Removed trailing whitespace ( #556 )
2019-03-06 09:08:34 +01:00
rodolphito
8141c44e50
Brace crunching ( #554 )
...
* Made bracing consistent in WeaverTests.
* Made bracing consistent everywhere else.
2019-03-04 08:48:28 +01:00
rodolphito
b3e6194665
Remove one liner braces. ( #550 )
2019-03-04 08:44:39 +01:00
Paul Pacheco
e4fbbeddc3
Simplify add player extra data ( #537 )
...
* Simplify add player extra data
* Pass byte[] in the client too
* Renamed to extra message
2019-03-03 19:53:24 +01:00
rodolphito
c0ba0073b2
Removed RequireComponent(Animator) because NetworkAnimator does not have to be on the same game object as the Animator. ( #529 )
2019-03-03 10:30:59 +01:00
rodolphito
bc9982e187
Remove useless comment ( #528 )
2019-03-02 23:25:10 -06:00