Commit Graph

517 Commits

Author SHA1 Message Date
James Frowen
514a61d8d3
Docs tcp vs udp (#2257)
* renaming page

* changing start and end blocks

* updating blocks on tcp and udp

* moving lines above features

* moving links to header
2020-09-17 00:28:40 +01:00
James Frowen
b86a611674
Restructure docs (#2249)
* moving all guides to Articles folder

* updating toc for root and articles

* fixing toc

* css on side toc

* fixing links on index
2020-09-16 22:27:05 +01:00
James Frowen
8b9178faa8
Update main.css
using inherit so color is only in 1 place
2020-09-15 12:14:08 +01:00
James Frowen
4b5b9d9181
Update toc.yml 2020-09-15 12:05:11 +01:00
James Frowen
1025d6a5ef
Update main.css
autoformatting
removing duplicate .sidefilter  block
2020-09-15 11:56:22 +01:00
James Frowen
8461428b13
moving favicon to templates (#2253) 2020-09-15 11:52:51 +01:00
James Frowen
feca6417de
remoivng sub folder from templates (#2252) 2020-09-15 11:52:43 +01:00
James Frowen
f1a028f09c
renaming user guides to Community guides (#2251) 2020-09-15 11:47:03 +01:00
James Frowen
34eb9e5c68
updating docfx.json (#2238) 2020-09-15 11:44:08 +01:00
James Frowen
5a95ae6fe3
Update FAQ.md 2020-09-13 16:52:33 +01:00
James Frowen
6411013253
Update FAQ.md 2020-09-13 13:57:34 +01:00
James Frowen
6186aeb9d9
Update Resources.md 2020-09-13 12:28:55 +01:00
James Frowen
f302e2e8bf
Update BestPractices.md 2020-09-13 12:28:09 +01:00
James Frowen
d147bbbb38
docs: adding new pages (#2237) 2020-09-12 23:19:42 +01:00
Trentish
63c7fd6214
Typo on NetworkBehaviourCallbacks.md (#2235) 2020-09-12 16:45:10 +02:00
vis2k
9f53382bdd doc style update to black 2020-09-09 12:16:03 +02:00
James Frowen
2d73dadd72
docs: fixing v16.9.0 release date 2020-09-05 20:42:54 +01:00
James Frowen
bfa482fde7
Adding Network Lerp Rigidbody docs and change log (#2226)
* adding NetworkLerpRigidbody to change log

* adding docs for  Network Lerp Rigidbody
2020-09-05 13:09:06 +01:00
James Frowen
2db0b4dc0d
Updating change log for july and september (#2224)
* changes for version 16.9.0

* changes for version 17.3.0

* adding syncevent
2020-09-05 12:38:31 +01:00
James Frowen
eac69ab5f6
docs: sync event obsolete (#2216)
* adding note to guides about removed SyncEvent

* updating Obsolete

making Obsolete error whe used
updating text to say it has been removed
linking to issue

* adding Obsolete note to other references to SyncEvent
2020-09-04 16:29:46 +01:00
James Frowen
f57b894e35
Update toc.yml 2020-09-03 11:38:33 +01:00
James Frowen
ba2cd8629b
docs: adding docs for google cloud server (#2211)
* adding docs for google cloud server

* fixing image paths

* removing todo with bold

* fixing sub list

* fixing format

* rewording log file

* fixing quote

* fixing list

* adding newline
2020-09-03 08:48:38 +02:00
James Frowen
0d6e867978
docs: NetworkManager callbacks (#2207)
* removing mention of start

start happens before server/host/client starts

* updating order for stophost
2020-08-31 00:16:59 +01:00
James Frowen
05b4457e61
docs: network behaviour callbacks (#2206)
* renaming file

* updating callbacks and call order
2020-08-30 23:57:30 +01:00
James Frowen
2f4bcdf64d
Update sync/index.md 2020-08-30 23:44:57 +01:00
James Frowen
e28734e643
Update SpawnObjectCustom.md 2020-08-30 23:34:13 +01:00
James Frowen
487ae523d2
docs: SpawnObjectCustom (#2205)
* Update SpawnObjectCustom.md

* updating full example script

* updating example to use RegisterPrefab

* using link instead of code block

* updating text about custom spawning

* updating example

* changing back to code comments

xref doesn't seem to work for methods
2020-08-30 23:04:18 +01:00
James Frowen
5b02c8b984
docs: Adding guide about Serialization (#2177)
* Adding guide about Serialization

* reword and typos

* adding link
2020-08-20 22:52:58 +01:00
James Frowen
7a9df5ea3d
Update SpawnObject.md 2020-08-17 12:56:02 +01:00
FirstGearGames
799e85a2e6
Update NetworkMatchChecker.md (#2162)
Fixed possible typo.
2020-08-15 17:40:58 +01:00
vis2k
ec9472947b Update documentation recommended version 2020-07-30 19:11:07 +02:00
Daniel McGuinness
14017fa644
Update NetworkManager.md (#2114)
As of commit b36c347200 `OnStartHost` is called after `OnStartServer`
2020-07-30 11:20:52 +02:00
Nic
3756285e2d
Small case fix (#2109) 2020-07-28 13:18:19 +02:00
James Frowen
a69880a65b
Update LiteNetLib4Mirror.md 2020-07-04 00:39:14 +01:00
James Frowen
ed366c53a7
Update toc.yml 2020-07-04 00:31:01 +01:00
James Frowen
3c100740ab
Update ChangeLog.md 2020-07-03 23:59:18 +01:00
James Frowen
ebe4d2c5c8
Update NetworkDiscovery.md 2020-07-03 23:56:37 +01:00
James Frowen
99d1b6d860
Update index.md 2020-07-03 23:19:06 +01:00
James Frowen
3e54a970c3
Update index.md 2020-07-03 23:18:24 +01:00
James Frowen
dabea79699
Update index.md 2020-07-03 23:17:04 +01:00
James Frowen
c4f071336a
Update index.md
Updating transport list
2020-07-03 23:15:45 +01:00
James Frowen
076203e967
Update NetworkDiscovery.md 2020-07-03 23:09:40 +01:00
James Frowen
de2882cb97
Update ChangeLog.md
Discord transport was removed, removing link to old page
2020-07-03 23:08:31 +01:00
James Frowen
7bab3b9d7c
Update Deprecations.md 2020-07-03 23:02:20 +01:00
James Frowen
af230ce988
docs: fixing order and table of contents (#2052)
* fixing order

* adding to table of contents
2020-06-29 00:52:23 +01:00
James Frowen
ab1b92f74b
fix: addingNetwork rigidbody icon and AddComponentMenu attribute (#2051)
* adding icon

* adding attributes

* adding docs

* adding disclaimer at top of doc
2020-06-28 23:47:50 +01:00
James Frowen
9468278c73
adding cloud to api docs (#2038) 2020-06-26 01:00:08 +01:00
Tri-tip
b9508e756d
Fixed small typo (#2019)
Changed oath to OAuth2
2020-06-19 06:14:17 -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
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
Chris Langsenkamp
7e91b82f6e doc: Updated ChangeLog 2020-06-13 14:19:10 -04:00
Chris Langsenkamp
a24228bf38 doc: Updated ChangeLog 2020-06-13 12:57:37 -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
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
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
Chris Langsenkamp
e601cb99ff doc: Updated Migration guide example 2020-06-04 08:32:00 -04:00
FirstGearGames
27ffb4d946
Update NetworkBehavior.md (#1956) 2020-06-03 10:29:11 -04:00
FirstGearGames
09e01fa818
Removed YouTube link. Links are changing. (#1957) 2020-06-03 10:28:52 -04:00
FirstGearGames
6f6c8b9d7e
Removed YouTube link. Links are changing. (#1958) 2020-06-03 10:28:27 -04:00
FirstGearGames
5c0cc561b0
Removed YouTube link. Link is changing soon. (#1959) 2020-06-03 10:28:06 -04:00
FirstGearGames
f83f87fc12
Removed YouTube link. Link is changing soon. (#1960) 2020-06-03 10:27:50 -04:00
FirstGearGames
95baa53b4f
Removed YouTube link. Link is changing soon. (#1961) 2020-06-03 10:27:35 -04:00
FirstGearGames
ab21af4db1
Removed YouTube link. Link is changing soon. (#1962) 2020-06-03 10:27:21 -04:00
Chris Langsenkamp
bc9659a148 doc: Updated ChangeLog 2020-06-02 13:09:18 -04:00
Chris Langsenkamp
a389a74175 doc: Updated docs for Command ignoreAuthority option 2020-06-02 11:09:15 -04:00
Chris Langsenkamp
a1c8338485 doc: Updated ChangeLog 2020-06-02 11:08:28 -04:00
James Frowen
9ae7fa2a8c
feat: adding OnRoomServerPlayersNotReady to NetworkRoomManager that is called when player ready changes and atleast 1 player is not ready (#1921)
* adding virtual function for Players not ready

* moving function calls to property

* making if check easier to read

* setting field

* making field private

* removed blank line

* Added override to template

* doc: Updated ChangeLog

Co-authored-by: Chris Langsenkamp <chris@clevertech.net>
2020-05-27 15:42:18 -04:00
Chris Langsenkamp
3d04f97c8d doc: Updated ChangeLog 2020-05-27 12:24:06 -04:00
Chris Langsenkamp
cfea4d3ac9 doc: Updated ChangeLog 2020-05-27 12:00:11 -04:00
Chris Langsenkamp
efdd86e82d Removed Discord Transport 2020-05-23 03:17:19 -04:00
Chris Langsenkamp
026f24d453 doc: Updated ChangeLog 2020-05-21 15:44:34 -04:00
Chris Langsenkamp
1ecc329daf doc: Updated ChangeLog 2020-05-21 15:10:01 -04:00
Chris Langsenkamp
df083bfd24 doc: Updated ChangeLog 2020-05-21 14:52:47 -04:00
Chris Langsenkamp
6a981534f4 doc: Updated ChangeLog 2020-05-16 01:47:25 -04:00
Chris Langsenkamp
a245e37a28 doc: Updated LiteNetLib4Mirror Transport doc 2020-05-12 13:00:10 -04:00
Chris Langsenkamp
5726d3b84a doc: Updated LiteNetLib4Mirror Transport 2020-05-12 10:40:36 -04:00
Chris Langsenkamp
ea2dc7e0a4 doc: Updated LiteNetLib4Mirror Transport doc 2020-05-12 10:37:51 -04:00
Chris Langsenkamp
179a08b70d doc: Updated ChangeLog 2020-05-11 13:06:13 -04:00
James Frowen
2db3fdc19c
Improving docs 1 (#1878)
* Update NetworkBehaviour.md

* Update Attributes.md

* Update doc/Guides/NetworkBehaviour.md

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

Co-authored-by: MrGadget <chris@clevertech.net>
2020-05-11 10:29:09 +02:00
Chris Langsenkamp
e00186ed3d doc: Updated NetworkLogSettings doc 2020-05-08 22:39:53 -04:00
Chris Langsenkamp
93a4198d21 doc: Updated Components TOC 2020-05-08 22:31:34 -04:00
James Frowen
fd4357cd26
feat: LogSettings that can be saved and included in a build (#1863)
* Moving code that draws the log levels to its own class

this allows other scripts to use the same code to draw the log levels

* adding LogSettings to store the log levels

* adding GUI method to create LogSettings

* Creating Editor for LogSettings that uses LogLevelsGUI

* adding helper to find Existing LogSettings

* Adding field to LogLevelWindow to use LogSettings

* Adding LogSettings to drawer and save on changed check

* fixing field default value of null so that c# compiler doesnt complain

* loading existing settings into LogFactory when the editor starts

* component to load log settings in a build

* changing namespace

* Moving logging scripts to subfolder

* NetworkLogSettings editor

Makes the component use the same gui as the Window and ScriptableObject

* Making NetworkLogSettings find existing settings on Reset

reset is called when component is added

* adding attributes

* adding docs

* adding icon

* doc.

* documentation and images

* fixing image extension

* Update Assets/Mirror/Runtime/Logging/EditorLogSettingsLoader.cs

Co-authored-by: vis2k <info@noobtuts.com>

Co-authored-by: vis2k <info@noobtuts.com>
2020-05-08 23:51:21 +01:00
MrGadget
65ef067cac
Update RemoteActions.md 2020-05-08 02:26:34 -04:00
Chris Langsenkamp
3fbce7ee39 doc: Fixed malformed sentence 2020-05-07 04:12:07 -04:00
Chris Langsenkamp
f77c576d5a doc: Updated ChangeLog 2020-05-07 03:40:03 -04:00
Chris Langsenkamp
96773b7245 doc: Updated index doc 2020-05-07 03:25:30 -04:00
Chris Langsenkamp
7a17790538 doc: Merged Discovery docs 2020-05-07 01:58:32 -04:00
Chris Langsenkamp
811c9d3e02 doc: Merged Authentication documents 2020-05-07 01:52:35 -04:00
Chris Langsenkamp
08390cb801 doc: fixed Components navigation 2020-05-06 19:20:08 -04:00
MrGadget
a508e8d37b
Update NetworkMatchChecker.md 2020-05-06 12:39:54 -04:00
Chris Langsenkamp
bde82c1205 doc: fixed typo in NetworkBehaviour Guide 2020-05-05 12:32:32 -04:00
Chris Langsenkamp
3e21aca8fc Updated ChangeLog for Release 2020-05-05 00:28:33 -04:00
Chris Langsenkamp
b74eaf4b7b Updated ChangeLog 2020-05-03 12:22:46 -04:00
Chris Langsenkamp
ff1c0a49c4 Updated Examples index.md 2020-05-03 12:14:48 -04:00
Chris Langsenkamp
7acff03764 Updated Basic Example doc 2020-05-03 12:14:22 -04:00
Chris Langsenkamp
c5f85a7113 Updated ChangeLog and Deprecations 2020-05-03 12:13:38 -04:00
Chris Langsenkamp
dde71d65ba Added doc for Multiple Additive Scenes Example 2020-05-03 12:13:09 -04:00
Chris Langsenkamp
2fc68d3e91 doc: Fixed ReplacePlayer example 2020-05-02 21:54:22 -04:00
Chris Langsenkamp
3363d4e859 doc: Updated Additive Scenes Example 2020-05-02 01:27:05 -04:00
Chris Langsenkamp
5653607183 doc: Updated TOC 2020-05-02 01:18:41 -04:00
Chris Langsenkamp
24c4446646 Additive Scenes Example doc 2020-05-01 05:14:26 -04:00
MrGadget
28093f9072
Update Deprecations.md 2020-04-29 16:11:42 -04:00
MrGadget
37cfdfb2e4
Update DataTypes.md 2020-04-28 00:37:39 -04:00
James Frowen
fea22f69df
fixing list (#1802) 2020-04-27 19:11:54 +02:00
Chris Langsenkamp
57ff0c4606 doc: Updated ChangeLog 2020-04-26 12:06:25 -04:00
Chris Langsenkamp
f855833c1c Updated Migration doc 2020-04-24 14:45:38 -04:00
Paul Pacheco
b284b324d9 docs: fix relative path to api 2020-04-24 09:17:06 -05:00
Chris Langsenkamp
47798ef20e Updated doc images 2020-04-24 07:53:05 -04:00
Chris Langsenkamp
a2eeef7fac Updated 2 docs for phrasing. 2020-04-24 05:14:19 -04:00
Chris Langsenkamp
54fa1b105a Updated Deprecations doc 2020-04-23 21:01:17 -04:00
MrGadget
a2eb666f15
feat: Disconnect Dead Clients (#1724)
* feat: Disconnect Dead Clients

* Moved code to NetworkConnectionToClient

* Fixed type

* WIP

* Trying to solve the mystery of the Host

* Updated Example

* fixed comment whitespace

* Final Cleanup and Unit Test

* Removed extra warning

* Reverted change to scene file

* Changed to Play test, still not working

* Added NetworkServer.Update time loop

* Removed commented code

* fixed comment

* Filled in ServerDisconnect so it behaves as expected.

* fixed comment

* Renamed to bool IsClientAlive

* Should be greater than

* Added override that shouldn't be necessary.

* changed asserts per Paul

* Flipped < back

* Shortened test time

* Corrected comment

* Lost the 1

* Updated NetworkServerTest

* Update Assets/Mirror/Tests/Runtime/NetworkServerTest.cs

* Added bool checkInactiveConnections

* Tests for sync dictionary and sync set (#1753)

* sync dictionary tests

* rename

* changing error message

* sync set tests

* silence unused method warning

* test class name matches file name

* test class name matches file name

* test class name matches file name

* test class name matches file name

* test class name matches file name

* test class name matches file name

* test class name matches file name

* Scope syncdict tests to their classes

* Scope synclists tests to their classes

* Scope syncset tests to their classes

* test class name matches file name

* Scope sample classes

* test class name matches file name

* fix: call the virtual OnRoomServerDisconnect before the base

* fixed name

* doc: Updated docs

* Moved serverIdleTimeout to NetworkManager

* fixed test to enable disconnectInactiveConnections

* Copied disconnectInactiveConnections & serverIdleTimeout to NetworkServer

Co-authored-by: James Frowen <jamesfrowendev@gmail.com>
Co-authored-by: Paul Pacheco <paulpach@gmail.com>
2020-04-23 21:50:35 +02:00
Chris Langsenkamp
6e03a538fe doc: Updated ChangeLog and Deprecations docs 2020-04-21 03:40:28 -04:00
Chris Langsenkamp
8e7bb44c3a Updated docs, comments, template pursuant to renaming of OnNetworkDestroy 2020-04-20 09:42:16 -04:00
Chris Langsenkamp
0bee908720 Updated ChangeLog & Deprecations 2020-04-19 17:55:20 -04:00
Chris Langsenkamp
006021eeb7 doc: Updated ChangeLog 2020-04-17 10:57:48 -04:00
MrGadget
21acf66190
feat: NetworkMatchChecker Component (#1688)
* feat: NetworkMatchChecker Component

* Added docs

* feat: Use logger framework for NetworkClient (#1685)

* Use logger framework for NetworkClient

* Update Assets/Mirror/Runtime/NetworkClient.cs

Co-authored-by: vis2k <info@noobtuts.com>

* breaking: NetworkVisbility component (#1681)

* backup

* breaking: NetworkProximityCheck abstract class. Simplifies code, reduces complexity, improves performance because if 10k identities have 10 components each, we don't have to iterate 100k components each time we rebuild observers.

* update tests and checkers

* DisallowMultipleComponents

* fix tests

* split OnCheckObserver check

* fix tests

* syntax

* update comment

* renamed to NetworkVisibility

* forgot to remove comment

* breaking: Network Visibility Component

* changing namespaces of performance tests (#1689)

* Updated to use NetworkVisibility

* Updated comments

* Updated OnCheckObserver and removed OnSetHostVisibility

* tests for OnCheckObserver

* adding check for empty guid

* tests for changing matchId

* RebuildObservers if player left a match

* Refactored to make it simpler

Co-authored-by: Paul Pacheco <paulpach@gmail.com>
Co-authored-by: vis2k <info@noobtuts.com>
Co-authored-by: James Frowen <jamesfrowendev@gmail.com>
2020-04-17 10:35:08 +02:00
Chris Langsenkamp
654084bf89 Added Booster to transports list 2020-04-16 17:37:13 -04:00
Chris Langsenkamp
1369bcf620 doc: Updated NetTrans and NetAnim docs and images 2020-04-16 17:33:54 -04:00
Chris Langsenkamp
9c3f5710eb Updated docs and comments re: Network Visibility 2020-04-12 07:54:28 -04:00
Chris Langsenkamp
54a365078b Updated Components doc 2020-04-10 20:52:23 -04:00
Chris Langsenkamp
c1fe2124d8 Removed SpawnWithClientAuthority from comments and docs 2020-04-09 16:51:41 -04:00
Chris Langsenkamp
38acfb2e3c Updated ChangeLog 2020-04-03 11:43:51 -04:00
Chris Langsenkamp
88f9bc16c8 Added Discord to transports list 2020-04-01 17:11:37 -04:00
Chris Langsenkamp
f33fd359cb doc: Updated ChangeLog 2020-03-29 15:08:50 -04:00
Chris Langsenkamp
459b8bf8e9 doc: Updated Deprecations 2020-03-29 15:04:10 -04:00
Chris Langsenkamp
d4366ecd73 doc: Updated ChangeLog 2020-03-26 16:32:38 -04:00
Chris Langsenkamp
d034ef616f feat: Added Virtual OnRoomStopServer to NetworkRoomManager and Script Template 2020-03-24 22:02:01 -04:00
MrGadget
c796116758
Remove Usage of LAN in HUD and Docs (#1592)
* Remove usage of LAN in HUD and docs

* Server + Client

* Host (Server + Client)

* HUD Image
2020-03-24 21:55:18 +01:00
Chris Langsenkamp
733bb92d37 doc: Updated SyncVar Hook doc 2020-03-24 08:39:08 -04:00
Chris Langsenkamp
e88249b972 doc: Updated ChangeLog 2020-03-24 08:31:31 -04:00
FirstGearGames
505b26fd17
Added video tutorial link (#1586) 2020-03-23 17:40:59 +01:00
Chris Langsenkamp
d040928948 doc: Updated ChangeLog 2020-03-21 14:38:38 -04:00
Chris Langsenkamp
04a8e86578 Updated SyncVarHook doc 2020-03-21 12:47:05 -04:00
Chris Langsenkamp
3f4f3c5c91 doc: Updated ChangeLog 2020-03-20 21:31:24 -04:00
Chris Langsenkamp
41e24420f6 doc: Updated ChangeLog 2020-03-20 20:40:35 -04:00
Chris Langsenkamp
5d5ee232d0 doc: Updated ChangeLog 2020-03-18 13:18:47 -04:00
Chris Langsenkamp
5cc77f21f6 doc: Updated ChangeLog 2020-03-18 12:54:52 -04:00