Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseThis should be called on a host when it has has been shutdown.
This causes the virtual function OnServerHostShutdown to be invoked. This is called automatically by the NetworkManager if one is in use.