Commit Graph

139 Commits

Author SHA1 Message Date
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
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
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
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
a389a74175 doc: Updated docs for Command ignoreAuthority option 2020-06-02 11:09:15 -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
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
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
bde82c1205 doc: fixed typo in NetworkBehaviour Guide 2020-05-05 12:32:32 -04:00
Chris Langsenkamp
2fc68d3e91 doc: Fixed ReplacePlayer example 2020-05-02 21:54:22 -04:00
MrGadget
37cfdfb2e4
Update DataTypes.md 2020-04-28 00:37:39 -04:00
Chris Langsenkamp
a2eeef7fac Updated 2 docs for phrasing. 2020-04-24 05:14:19 -04:00
Chris Langsenkamp
8e7bb44c3a Updated docs, comments, template pursuant to renaming of OnNetworkDestroy 2020-04-20 09:42:16 -04:00
Chris Langsenkamp
9c3f5710eb Updated docs and comments re: Network Visibility 2020-04-12 07:54:28 -04:00
Chris Langsenkamp
c1fe2124d8 Removed SpawnWithClientAuthority from comments and docs 2020-04-09 16:51:41 -04:00
Chris Langsenkamp
733bb92d37 doc: Updated SyncVar Hook doc 2020-03-24 08:39:08 -04:00
FirstGearGames
505b26fd17
Added video tutorial link (#1586) 2020-03-23 17:40:59 +01:00
Chris Langsenkamp
04a8e86578 Updated SyncVarHook doc 2020-03-21 12:47:05 -04:00
Chris Langsenkamp
25edcf0d41 docs: Updated SyncVar docs 2020-02-23 02:48:21 -05:00
Chris Langsenkamp
ce25eb5335 Updated Authentication doc 2020-02-23 00:32:24 -05:00
Chris Langsenkamp
b33311cabf docs: fixed typo 2020-02-23 00:31:46 -05:00
Chris Langsenkamp
bf47ae4cf1 removed blank line in doc 2020-02-18 12:11:55 -05:00
Sebastian König
c0feee8845
Changed namespace in code snippet. (#1505)
Added "using Mirror;" instead of "using UnityEngine.Networking;"
2020-02-18 12:10:04 -05:00
Chris Langsenkamp
3a0c7fb1ec fix: Fixed toc link 2020-02-18 11:34:07 -05:00
vis2k
d47a881f86 removed previous guide 2020-02-18 11:24:12 +01:00
Chris Langsenkamp
e5dec90499 docs: Updated various documents 2020-02-17 23:10:47 -05:00
vis2k
f4677ff627 docs: add links 2020-02-17 23:16:47 +01:00
vis2k
6ac804107f docs: add header 2020-02-17 22:43:08 +01:00
vis2k
6f91cf49c2 docs: added 'Cheat safe, local player movement beyond NetworkTransform' based on https://forum.unity.com/threads/making-player-movement-secure-with-mirror.829683/ 2020-02-17 22:41:33 +01:00
Chris Langsenkamp
c70a43b431 Removed ClientServers doc 2020-02-16 18:07:25 -05:00
Chris Langsenkamp
da79d69ea6 Updated Authentication doc 2020-02-14 18:26:23 -05:00
Paul Pacheco
6aa2d001e2
docs: document scriptable objects (#1494) 2020-02-12 08:39:38 -06:00
Bug
64a59407ef Update ClientsServers.md (#1489)
NetworkServer.Listen(int) receives a maximum number of connections, not a port.
ref: https://mirror-networking.com/docs/api/Mirror.NetworkServer.html?q=NetworkServer
2020-02-08 14:49:41 -05:00
FirstGearGames
f5a7c6aa9f
Fixed missing video link image. (#1487) 2020-02-07 17:50:22 -05:00
FirstGearGames
d05a46101e
Added video tutorial link. (#1488) 2020-02-07 17:50:05 -05:00
Chris Langsenkamp
626f084a87 updated example code 2020-02-06 19:32:18 -05:00
Chris Langsenkamp
abb570b309 Updated RemoteActions Doc 2020-01-31 22:04:51 -05:00
Chris Langsenkamp
a52d58a18b Update RemoteActions doc 2020-01-29 12:34:20 -05:00
Paul Pacheco
e75b45f888
feat: LAN Network discovery (#1453)
* Fix typo

* Updated Changelog

* first commit

* Add example for discovery

* NetworkDiscovery component should be added

* fixed UI

* Fix some warnings

* refactor: network discovery reimplemented

* Remove unused GUIstyle

* Fix namespaces

* Just send to the broadcast address

* Fix indentation

* Log errors in ClientListen

* Code formatting cleanup, HelpURL's fixed, comments revised. (#38)

* Transport can now provide server uri

* work with any transport by passing uri

* Move discovery initialization to start

* feat: Discovery can now be easily customized per game

* Use generics to simplify api

* Renamed ServerInfo -> ServerResponse

* Rename method

* Moved up one folder

* Move ServerId to NetworkDiscovery

* tests now reference Mirror.Discovery

* Cleaned up blank space

* Disable GUID apparently fixes it

* Use UnityEvents for ease of use

* Remove noisy log

* remove blank spaces

* Process request receives the client endpoint

* use consistent name for parameters

* Remove white space

* Keep it minimalistic,  we don't need age or totalPlayers

* Comment non obvious property

* Don't break transports

* Documentation and image

* Code formatting

* removed privates

* Added Range attribute

* Rename ActiveDiscoverySecondInterval

* Revised NetworkDiscovery doc

* Swapped field order (Cosmetics)

* Added ScriptTemplate

* Update ProjectSettings/ProjectVersion.txt

* Updated ScriptTemplate

* Updated xml comment and ScriptTemplate

* Updated ScriptTemplate

* Improve xmldocs

* Improve xmldocs

* Remove leftover comment

* Renamed event

* Moved discovery inside components

* Keep parameter names consistent

* Provide a guide for network discovery

* XML Comments and ScriptTemplate

* Moved Credits

* fixed template

* Removed comment

* removed comment

* xml comments and template

* fixed method name

* fixed method and template

* removed semicolon

* fixed template

* fixed method and template

* fixed template

* fixed template

* Fix copypasta error

* Show error if no url is available

Network Discovery now shows an error if the transport does not support
providing Url

* Grammar fix

* Extended Template

* fixed template

* Added guide link to template

* New image

* Update NetworkDiscovery.md

* Updated Guid Doc and Template

* fixed bullets

* Remove unnecessary using

* Make it like Mirror's

* Update ScriptTemplates Image & Zip

* Removed from Deprecations

* Updated ChangeLog

* Updated ChangeLog

* Update NetworkDiscovery.md

Remove last line...this was copied to the paragraph above the code block

Co-authored-by: MrGadget <chris@clevertech.net>
2020-01-29 09:56:29 +01:00