Commit Graph

4303 Commits

Author SHA1 Message Date
vis2k
7111d62191
Update README.md 2020-09-08 16:37:10 +02:00
vis2k
1009734961
Update README.md 2020-09-08 16:36:41 +02:00
vis2k
964fce485f
Update README.md 2020-09-08 16:32:22 +02:00
vis2k
845ff45627
Update README.md 2020-09-08 16:29:50 +02:00
vis2k
f396b456f7
Update README.md 2020-09-08 16:29:17 +02:00
vis2k
cdeb64a809
Update README.md 2020-09-08 16:24:29 +02:00
vis2k
d3a1aa45e2
Update README.md 2020-09-08 16:23:26 +02:00
vis2k
34edfc6fdc
Update README.md 2020-09-08 16:22:45 +02:00
James Frowen
5edba81dee
fix: ClientScene.localplayer is now set to null when it is destroyed (#2227)
* moving FakeNetworkConnection to common test folder

* adding test for local player destroy

* adding method to clear local player

* temp move test functions

* adding test for destroying non player

* moving asset to setup

* adding tests for destroy message and host mode

* adding ClearLocalPlayer to reset
2020-09-08 09:45:24 +02:00
James Frowen
2033f7d009
breaking: Removing manual invoke for Cmd and RPC (#2223)
* Removing manual invoke for Cmd and RPC

There should be no reason to manaully invoke remote code
they are marked with EditorBrowsableState.Never which implies they should not be called by the user

* removing tests
2020-09-06 16:14:05 +02:00
vis2k
a30e8fcd85 adding empty SyncEventProcessor file for deleted file 2020-09-06 16:07:52 +02:00
James Frowen
a232c539a7 adding empty program file for deleted file 2020-09-06 16:05:50 +02:00
James Frowen
5205f3d907
updating Contribute (#2219)
adding paragraph before testing header
updating testing paragraph to better convey that testing is to help find bugs and issues
2020-09-05 22:20:53 +02:00
James Frowen
f381f7f9a0
adding unit tests to good pull request (#2218) 2020-09-05 22:19:56 +02:00
James Frowen
5a05bdc1d0
removing point about empty class bodies (#2225)
* VisualStudio and VisualStudioCode with c# extension automatically add space between { }

* Formatting tools automatically add space between { } so the option is to have no automatic formatting or use { }

* There does not seem to be an editorconfig setting to override this behaviour
2020-09-05 22:18:29 +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
f326999d50
removing methods that only set enum (#2221) 2020-09-04 22:41:38 +01:00
James Frowen
622b52124b
Refactoring handle remote call (#2222)
* using string interpolation for logs

* return early instead of if/else
2020-09-04 22:40:56 +01:00
James Frowen
fe2c962dc5
fixing typos (#2217) 2020-09-04 17:46:01 +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
vis2k
e67cef6666
Remove ScriptTemplates to clean up folder (#2213)
* Remove ScriptTemplates to clean up folder

* Update main.yml

Removing script templates from CI

Co-authored-by: James Frowen <jamesfrowendev@gmail.com>
2020-09-04 07:55:11 +02:00
James Frowen
24e3ea099c
adding version define from v18 breaking change (#2214) 2020-09-03 15:46:15 +01:00
James Frowen
e79e340e0d
fixing typo in NetworkIdentity.cs 2020-09-03 11:51:05 +01:00
James Frowen
f57b894e35
Update toc.yml 2020-09-03 11:38:33 +01:00
vis2k
cd3d9c2144 Delete old file 2020-09-03 09:05:47 +02:00
vis2k
fc1096d66c
breaking: Removed [SyncEvent] because ClientRpc/TargetRpc does the same thing, and it's an enormous effort to support the Weaver code. (#2178) 2020-09-03 09:04:29 +02: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
ad8af783dc
Replacing prefabAssetPath with assetPath for PrefabStage to stop warning (#2210) 2020-09-03 08:48:06 +02:00
James Frowen
1ade82d435
feat: making NetworkBehaviour.IsDirty public (#2208) 2020-08-31 12:26:50 +01: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
5701369e84
feat: adding script to help debug list server (#2202)
Script uses OnGui so can be used to check if server has been added to list server
2020-08-27 23:15:43 +01:00
James Frowen
fc530782cc
fix: fixing width and layout group on cloud example (#2201) 2020-08-27 23:10:11 +01:00
vis2k
f6dbf8c19e Fix broken Weaver test 2020-08-27 00:18:01 +02:00
vis2k
594aec45bf Weaver RpcProcessor validation moved to NetworkBeahviourProcessor.ProcessClientRpc 2020-08-26 13:15:23 +02:00
vis2k
25ef6ac36a Weaver TargetRpcProcessor validation moved to NetworkBehaviourProcessor.ProcessTargetRpc 2020-08-26 13:13:56 +02:00
vis2k
820d0daa29 Weaver CommandProcessor validation moved to NetworkBehaviourProcessor.ProcessCommand 2020-08-26 13:12:56 +02:00
vis2k
5e7257d7bc Weaver ValidateRemoteCallAndParameters IsStatic check added so we don't need to check in Command/Rpc/TargetRpcProcessors 2020-08-26 13:11:56 +02:00
vis2k
2e178b7eaf Weaver NetworkBehaviourProcessor: ValidateRemoteCallAndParameters function added to be used from Command/Rpc/TargetRpcProcessors 2020-08-26 13:08:46 +02:00
vis2k
fbad5d2401 Add comment 2020-08-26 13:04:39 +02:00
vis2k
68ebaf1756 Weaver TargetRpcProcessor: ValidateTargetRpc simplified 2020-08-26 13:03:44 +02:00
vis2k
e6ffe6d6bf Weaver: Simplify ValidateParameters 2020-08-26 13:02:25 +02:00
vis2k
ce3dd51d81 Weaver NetworkBehaviourProcessor: ProcessMethodsValidateParameters renamed to ValidateParameters 2020-08-26 13:01:43 +02:00
vis2k
ee8ad1d750 Weaver TargetRpcProcessor: ProcessMethodsValidateTargetRpc renamed to ValidateTargetRpc 2020-08-26 13:01:43 +02:00
vis2k
1b49a21d49 Weaver RpcProcessor: ProcessMethodsValidateRpc renamed to ValidateRpc 2020-08-26 13:01:43 +02:00