Commit Graph

8213 Commits

Author SHA1 Message Date
mischa
3e30c44864 Examples/Common: scripts moved into Scripts/ 2023-12-11 11:58:05 +01:00
mischa
67f32f2d90
feature: Edgegap Plugin V2 (#3692)
* Edgegap Plugin V2 from https://github.com/dylanh724/edgegap-unity-plugin-v2/tree/feat/plugin-v2.2

* fix things

* fix warnings

* fix u2020 support

* fix nre

* fix logo hardcoded path

* fix clipboard image hardcoded path and remove fonts

* syntax

* fix unity 2019/2020 breaking all editor UIs

* fix NRE on first open due to old window

* fix 2019 asserts

* link to our documentation

* disable warning

* fix unity 2019 unsupported syntax error

* Mirror.Hosting.asmdef: fix missing ref

* fix: remove all fonts to avoid the errors

* readme: two click hosting

* readme

* better

* fix 2019 errors

* fix U2020 async warning

---------

Co-authored-by: mischa <16416509+vis2k@users.noreply.github.com>
2023-12-09 11:02:01 +01:00
Clayton Hunsinger
608429c314
perf: SyncVar hook invocations no longer instantiate a new action delegate on every call (#3615)
Co-authored-by: Clayton Hunsinger <clayton@talofagames.com>
2023-12-06 15:28:54 +01:00
MrGadget
ab99215e68
feat(NetworkManager): Ability to toggle auto-start in Editor (#3694)
* feat(NetworkManager): Ability to toggle auto-start in Editor

* use Application.isEditor

---------

Co-authored-by: mischa <info@noobtuts.com>
2023-12-06 14:27:46 +01:00
MrGadget
92b99335d8
fix(ConnectionQuality): Move Connection Quality to Network Client (#3693)
* fix(ConnectionQuality): Move Connection Quality to Network Client
- Added zero as disable value
- Added Tooltip and Range to NetworkManager.connectionQualityInterval
- Obsoleted NetworkManager.OnConnectionQualityChanged
- Added temporary event wireups for OnConnectionQualityChanged
- Removed Action and overrides from NetworkManager template

* Removed stray blank line

* Added ConnectionQualityMethod Selection
- Enum added to ConnectionQuality
- Fields added to NetworkManager and NetworkClient
- Switch added to NetworkClient.UpdateConnectionQuality

* Use right params for Pragmatic

* Renamed Fields in NetworkManager
2023-12-06 10:06:31 +01:00
MrGadget1024
dd1923e4fd fix: Reset Scenes for 2019+ 2023-12-05 17:00:31 -05:00
MrGadget1024
d477189a97 fix(StinkySteak): Cannot use shortened new() in older Unity 2023-12-05 16:38:43 -05:00
MrGadget1024
b6f86ac3e7 Revert "fix(Examples): Updated scenes and lighting"
This reverts commit e2d63a88b0.
2023-12-05 16:33:45 -05:00
MrGadget1024
f04a2a915c fix(ConnectionQuality): reordered enums 2023-12-05 11:49:38 -05:00
MrGadget1024
c85f591b33 NetworkPingDisplay: Changed width to 100 2023-12-05 11:46:51 -05:00
MrGadget1024
2ddbf8c993 NetworkPingDisplay: Changed connectionQuality to hyphens 2023-12-05 11:46:07 -05:00
MrGadget1024
f05fcd0cab Removed GUI Console from Basic example 2023-12-05 11:42:45 -05:00
MrGadget1024
a3cb76019e fix(GUIConsole): Changed position / layout
- No longer clashes with the standard HUD
2023-12-05 11:31:40 -05:00
MrGadget1024
65fc3dbcb9 fix(GUIConsole): default hotkey changed to tick (Back Quote)
- F keys are mostly assigned to various things in browsers
2023-12-05 11:28:18 -05:00
MrGadget1024
7b55fe99cc HUD: make wdith a variable
- prepares for GUIConsole changes
2023-12-05 11:26:03 -05:00
mischa
77e79de47d
Readme: added Features Matrix (#3691)
* features table

* emojis

* shorter

* stable

* more

* asdf

* a

* b

* c

* d

* e

* ee

* f

* asdf

* g

* h

* \ui

* i

* h

* test

* shorter

* shorter

* physics

* typo
2023-12-05 11:42:17 +01:00
mischa
f1bb7e4543
feature: Stinkysteak benchmark (#3690)
* wip

* add dependencies

* OnGUI

* timer license updated
2023-12-05 09:52:15 +01:00
MrGadget1024
e2d63a88b0 fix(Examples): Updated scenes and lighting 2023-12-04 19:41:03 -05:00
MrGadget1024
2625fe4e5c chore(CI): RunUnityTests - updated unityVersion 2023-12-04 09:38:01 -05:00
MrGadget1024
c834c227c6 Removed leftover empty folder metas 2023-12-04 06:19:41 -05:00
mischa
5eb877ae4a
Update README.md 2023-12-04 10:24:48 +01:00
mischa
d7d82f8551
Update README.md 2023-12-04 10:23:52 +01:00
JesusLuvsYooh
49e5f767a6
feat: Compress network transform rotation boolean. (#3677)
* Compress Rotation Boolean

* Remove whatever the heck that was.

* Tidy Up

* Tidy Up 2

* You didnt see this.

* NT Unreliable Quaternion Compression

* Update NetworkTransformUnreliable.cs

---------

Co-authored-by: mischa <16416509+miwarnec@users.noreply.github.com>
2023-12-03 22:55:14 +01:00
MrGadget
c980fd9f91
feat(Utils): Add IsWebGL and IsDebug (#3688)
* fix(Utils): Add IsWebGL and IsDebug

* Constants
2023-12-03 22:53:28 +01:00
Andrew Allbright
02d12c12f2
Remove 'Empty' files that are older than 1 year (#3682) 2023-12-03 22:50:25 +01:00
MrGadget
f701ae1fda
fix(Utils): Fix IsHeadless to work in editor for Unity 2021+ (#3680) 2023-12-03 20:07:51 +01:00
MrGadget
c1699f8157
fix(KCP): Added port to ToString (#3683) 2023-12-03 20:07:16 +01:00
JesusLuvsYooh
16dbeb1707
feat: NetworkTransform obsolete define removal. (#3687) 2023-12-03 20:01:03 +01:00
MrGadget1024
eb0839674d fix(MultipleAdditiveScenes): Fixed missing RandomColor script on Player 2023-12-03 13:49:03 -05:00
MrGadget1024
f0b469410d fix: Reset walls 2023-12-03 13:43:26 -05:00
MrGadget
3136e6e752
Code Formatting in NT scripts (#3681) 2023-12-03 09:57:11 -05:00
MrGadget
93d7bd1889
fix(KCP): Use compiler symbols in Available (#3668)
* fix(KCP): Use compiler symbols in Available

* Added Comments
2023-12-03 08:50:43 -05:00
MrGadget
98dcffb701
fix(Telepathy): Use compiler symbols in Available (#3667)
* fix(Telepathy): Use compiler symbols in Available

* Added Comments
2023-12-03 08:50:19 -05:00
MrGadget1024
2885752890 chore(CI): RunUnityTests - updated unityVersion 2023-12-01 22:58:46 -05:00
mischa
acd6b61c48
feature: PredictedRigidbody visual interpolation object (#3675)
* disable gizmo icons

* add latency simulation

* visual rb wip

* prefabs and materials

* self destroy

* lower transparency

* fix nre

* teleport multiplier

* teleport based on collider size

* better default

* auto create visual copy

* icon

* warn if no rend

* copy settings

* showghost option

* fix red reset to center

* under development warning
2023-12-01 11:13:38 +01:00
mischa
e955d341c7 Revert "fix(MultiplexTransport): OnValidate check that SimpleWebTransport is last"
This reverts commit f863b27a86.
2023-11-29 10:55:21 +01:00
MrGadget1024
f863b27a86 fix(MultiplexTransport): OnValidate check that SimpleWebTransport is last
- Warns user if SimpleWebTransport isn't last
- Prevents confusion caused by transports being out of order
2023-11-28 11:49:49 -05:00
MrGadget1024
35d9d65157 chore(CI): RunUnityTests - updated unityVersions 2023-11-27 12:45:31 -05:00
MrGadget1024
b7bfee3a91 Added comments as requested 2023-11-27 09:37:45 -05:00
MrGadget
c621049080
fix(NetworkManager): Remove check for editor in Start (#3670)
IsHeadless returns false for null graphics device in editor so isEditor check is never reached, let alone evaluated.
2023-11-27 09:31:39 -05:00
mischa
77155b83ce
Update README.md 2023-11-27 14:17:42 +01:00
mischa
5b73df8d46
Readme: Badge Styling V2 (#3672)
* better buttons and centered

* colors

* logos

* better

* center

* less is more

* colors

* fix showcase url
2023-11-27 14:13:24 +01:00
mischa
b0e7703819 fix(EdgegapHosting): registry/image name/tag whitespaces are trimmed and throw errors instead of failing with "ERROR: "docker buildx build" requires exactly 1 argument." 2023-11-27 11:01:50 +01:00
MrGadget
447e96d042
feat(NetworkManager): Refactor Headless Start (#3664)
* feat(NetworkManager): Refactor Headless Start
- Two checkboxes are replaced with a dropdown
- Implementation self-adjusts to what user had selected to no breaking change.

* Added Deprecated dates

* Improved OnValidate

* restored using Utils.IsHeadless && !Application.isEditor
- Using compiler symbols will be in another PR
2023-11-27 10:55:59 +01:00
MrGadget
843d26599e
fix(Telepathy): Shorter Simpler ToString (#3669)
- looks nicer in the HUD
2023-11-27 10:54:57 +01:00
MrGadget
d6c0c17e87
fix(KCP): Use Log.Info instead of Debug.Log (#3671) 2023-11-27 10:53:20 +01:00
MrGadget1024
5e33b0336c fix(SWT): Changed two logs to Verbose in WebSocketServer 2023-11-27 00:16:48 -05:00
MrGadget1024
6a274962ad fix(SWT): Removed Console.Clear from ServerSslHelper 2023-11-27 00:16:05 -05:00
MrGadget1024
af5627e696 fix(SWT): Port get/set based on platform 2023-11-26 19:43:38 -05:00
MrGadget1024
dcccaa98f8 fix(SWT): Use server port in ClientConnect 2023-11-26 19:41:50 -05:00