Commit Graph

3937 Commits

Author SHA1 Message Date
James Frowen
f1fdc959dc
feat: adding demo for mirror cloud services (#2026)
* adding mirror list services

* fixing code smells

* removing runtime example folders

* removing matchmaking code till feature is ready

* fixing scene path

* updating readme to say where example is
2020-06-23 20:39:38 +02:00
Callum Ferguson
5b05c46da7
Update discord invite (#2025) 2020-06-23 10:11:16 +02:00
James Frowen
065d320208
calling animator.enabled before calls to animator (#2000)
some functions don't need this check as the check is done before they are called
2020-06-21 12:09:24 +02:00
James Frowen
296f6f9cd8
Only setting last parameters values if they have changed (#1999)
* only setting last values if they have changed

* adding comment
2020-06-21 12:06:37 +02:00
James Frowen
f18f7a5c3d
making sure that trigger is called on the server (#1998) 2020-06-21 12:06:07 +02:00
James Frowen
3bea342257
rethrow error with stack (#2013)
this will help error be more useful
2020-06-21 11:54:11 +02:00
James Frowen
a05df81127
adding if before starting task (#2021) 2020-06-21 11:52:32 +02:00
uwee
36c0b65e8b
fixes broken ui for Tanks example (#2015) 2020-06-20 23:39:36 +01:00
Tri-tip
b9508e756d
Fixed small typo (#2019)
Changed oath to OAuth2
2020-06-19 06:14:17 -04:00
James Frowen
4af72c3a63
fix: calling base method when the first base class did not have the virtual method (#2014)
* adding test for error

* adding test with multiple overrides

* calling methods in base type

* adding test for more than 1 override
2020-06-19 00:23:46 +02:00
Chris Langsenkamp
5032ceb000 fix: Clean up roomSlots on clients in NetworkRoomPlayer 2020-06-18 09:44:50 -04:00
Marco Hoffmann
c14b82c621
Updated doc for Fizzy Steam transports (#2016)
Co-authored-by: Marco Hoffmann <marco.hoffmann@qualityminds.de>
2020-06-18 07:49:16 -04:00
Chris Langsenkamp
f2e38929df doc: Updated Profiler Guide 2020-06-17 22:43:51 -04:00
Chris Langsenkamp
b41996b074 doc: Updated Profiler Guide 2020-06-17 22:42:21 -04:00
Chris Langsenkamp
e84754d3e8 doc: Updated Profiler page 2020-06-17 22:40:17 -04:00
Chris Langsenkamp
37338706f9 Remove redundant .transform 2020-06-17 17:35:32 -04:00
James Frowen
8c1ed40c40
adding check before telling clients (#2010)
* adding check before telling clients

* Update Assets/Mirror/Runtime/NetworkManager.cs

Co-authored-by: MrGadget <chris@clevertech.net>
2020-06-16 12:21:57 -04:00
James Frowen
76d49c1e99
faster write line (#2009) 2020-06-16 16:16:58 +01:00
Chris Langsenkamp
b41fca2d28 Changed to inline token injection 2020-06-16 08:29:59 -04:00
James Frowen
46239783f3
feat: adding log handler that sets console color (#2001)
* adding log handler that sets console color

* fixing stack trace log

* removing empty cases

* removing string.Format
2020-06-15 14:54:35 +02:00
James Frowen
268d93f471
Update Attributes.md (#1996) 2020-06-15 14:52:36 +02:00
James Frowen
5f0c7ceb52
moving spawn functions next to each other (#2002) 2020-06-14 17:33:32 +01:00
James Frowen
e8798d3893
project settings with new version (#1995) 2020-06-14 11:40:38 +01:00
Chris Langsenkamp
7e91b82f6e doc: Updated ChangeLog 2020-06-13 14:19:10 -04:00
Chris Langsenkamp
fffd462df8 fix: Suppress warning 2020-06-13 13:25:07 -04:00
Chris Langsenkamp
a24228bf38 doc: Updated ChangeLog 2020-06-13 12:57:37 -04:00
Chris Langsenkamp
23b545fc8a suppress erroneous warning 2020-06-13 12:34:14 -04:00
James Frowen
5480a583e1
fix: Websockets Transport now handles being disabled for scene changes (#1994)
* fix: Websockets Transport now handles being disabled for scene changes

* Removed unused method

* Removed test warnings

* Changed back to await Task.Run

* adding queue to ClientJs

keeping standalone client without queue
dont need common class for now as that over complicates the fix

Co-authored-by: Chris Langsenkamp <chris@clevertech.net>
2020-06-13 12:21:13 -04:00
MrGadget
7e2b7338a1
feat: Experimental Network Transform (#1990)
* feat: Experimental Network Transform

* Removed lastClientSendTime and lastServerSendTime
2020-06-12 16:48:34 +02:00
MrGadget
b962d71944
breaking: Websocket Transport now requires full path to PFX (#1989)
* breaking: Websocket Transport now requires full path to PFX

* Added HelpURL
2020-06-12 09:38:45 -04:00
Chris Langsenkamp
1dc0d98374 fix: Replaced Icosphere with centered pivot 2020-06-12 09:19:02 -04:00
Chris Langsenkamp
9a42fe3342 fix: WebSockets: Force KeepAliveInterval to Zero 2020-06-12 08:24:13 -04:00
Chris Langsenkamp
285ec968c0 Fix: WebSockets: Force KeepAliveInterval to Zero 2020-06-11 23:07:21 -04:00
James Frowen
4cf77ca7c7
sync vars now work with overriden OnSerialize (#1985)
Co-authored-by: MrGadget <chris@clevertech.net>
2020-06-11 12:27:42 -04:00
James Frowen
7056d5eb9e
hooks are called on initialState too (#1986) 2020-06-11 12:24:52 -04:00
James Frowen
784b626dca
docs: replacing paragraph on return with is dirty (#1987)
* replacing paragraph on return with is dirty

the return value is not currently used in mirror
OnSerialize is currently only called when IsDrity is true

* Update doc/Guides/Sync/index.md

Co-authored-by: MrGadget <chris@clevertech.net>
2020-06-11 12:24:05 -04:00
James Frowen
acbb0db6f3
updating example and adding comments (#1984)
- SyncVars is generated inside SerializeSyncVars now
2020-06-11 12:22:50 -04:00
James Frowen
781e8070de
fixing using statments (#1983) 2020-06-10 21:56:44 +01:00
Chris Langsenkamp
ae3dc04fb9 fix: Removed unused variable 2020-06-10 12:57:46 -04:00
James Frowen
b92da91d7a
fix: Allowing overrides for virtual commands to call base method (#1944)
* adding override method that calls base

* trying to debug instruction for call to base

* extra tests

* adding tests for client and target Rpc

* adding fix for calls to base class

Since networkbehaviour parents are processed first we can just fix the
method when we see it in SubstituteMethod
2020-06-10 16:11:29 +02:00
James Frowen
2ce5880646
breaking: moving static code from NetworkBehaviour to its own class (#1951)
* moving static code from NetworkBehaviour to its own class

* Replacing calls in tests to use new RemoteCallHelper

* updating references to types in weaver

* adding version 15 defines

* renaming function
2020-06-10 16:10:54 +02:00
James Frowen
7e93030849
feat: adding script that displays ping (#1975)
* adding script that displays ping

* fixing style

* adding mirror icon

* Update Assets/Mirror/Components/NetworkPingDisplay.cs

Co-authored-by: MrGadget <chris@clevertech.net>

* adding DisallowMultipleComponent

* adding docs on NetworkPingDisplay

Co-authored-by: MrGadget <chris@clevertech.net>
2020-06-10 14:31:13 +01:00
James Frowen
3db57e5f61
fix: making weaver include public fields in base classes in auto generated Read/Write (#1977)
* adding test to check if data is sent

* test for generating writer for inherited class

* adding extension method for FindAllPublicFields
2020-06-10 15:12:36 +02:00
Chris Langsenkamp
df76cb6eb4 doc: Updated DataTypes 2020-06-09 11:16:27 -04:00
FirstGearGames
a4a5888572
Video link removed. Path changing soon. (#1980) 2020-06-09 10:47:55 -04:00
FirstGearGames
96fceb1931
Removed dead link to video. (#1979) 2020-06-09 10:47:37 -04:00
Chris Langsenkamp
fdc65ebe29 doc: Updated RemoteActions 2020-06-09 10:46:54 -04:00
Chris Langsenkamp
2c9030333c doc: Updated DataTypes 2020-06-09 10:06:02 -04:00
Chris Langsenkamp
e73267f41b doc: Updated ChangeLog 2020-06-09 09:27:53 -04:00
Chris Langsenkamp
797c693fe8 doc: Updated Deprecations 2020-06-09 09:27:33 -04:00