mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkVisibility: improve obsolete message
This commit is contained in:
parent
d8e2f1650f
commit
57432d94c9
@ -16,7 +16,7 @@ namespace Mirror
|
|||||||
public static class NetworkVisibilityObsoleteMessage
|
public static class NetworkVisibilityObsoleteMessage
|
||||||
{
|
{
|
||||||
// obsolete message in one place. show them everywhere.
|
// obsolete message in one place. show them everywhere.
|
||||||
public const string Message = "Per-NetworkIdentity Interest Management is being replaced by global Interest Management.\n\nPlease remove Proximity checkers from NetworkIdentity prefabs and add one global InterestManagement component to your NetworkManager instead. See our Benchmark example and our Mirror/Components/InterestManagement for available implementations.\n\nIf you need to port a custom solution, move your code into a new class that inherits from InterestManagement and add one global update method instead of using NetworkBehaviour.Update.\n\nDon't panic. The whole change mostly moved code from NetworkVisibility components into one global place on NetworkManager. Allows for Spatial Hashing which is ~30x faster.\n\n(╯°□°)╯︵ ┻━┻";
|
public const string Message = "Per-NetworkIdentity Interest Management is being replaced by global Interest Management.\n\nWe already converted some components to the new system. For those, please remove Proximity checkers from NetworkIdentity prefabs and add one global InterestManagement component to your NetworkManager instead. If we didn't convert this one yet, then simply wait. See our Benchmark example and our Mirror/Components/InterestManagement for available implementations.\n\nIf you need to port a custom solution, move your code into a new class that inherits from InterestManagement and add one global update method instead of using NetworkBehaviour.Update.\n\nDon't panic. The whole change mostly moved code from NetworkVisibility components into one global place on NetworkManager. Allows for Spatial Hashing which is ~30x faster.\n\n(╯°□°)╯︵ ┻━┻";
|
||||||
}
|
}
|
||||||
|
|
||||||
[Obsolete(NetworkVisibilityObsoleteMessage.Message)]
|
[Obsolete(NetworkVisibilityObsoleteMessage.Message)]
|
||||||
|
Loading…
Reference in New Issue
Block a user