mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
NetworkIdentity.OnStartClient: added comment
This commit is contained in:
parent
53499f031f
commit
617bd0a175
@ -556,6 +556,9 @@ internal void OnStartClient()
|
|||||||
if (LogFilter.Debug) Debug.Log("OnStartClient " + gameObject + " netId:" + netId);
|
if (LogFilter.Debug) Debug.Log("OnStartClient " + gameObject + " netId:" + netId);
|
||||||
foreach (NetworkBehaviour comp in NetworkBehaviours)
|
foreach (NetworkBehaviour comp in NetworkBehaviours)
|
||||||
{
|
{
|
||||||
|
// an exception in OnStartClient should be caught, so that one
|
||||||
|
// component's exception doesn't stop all other components from
|
||||||
|
// being initialized
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
comp.OnStartClient(); // user implemented startup
|
comp.OnStartClient(); // user implemented startup
|
||||||
|
Loading…
Reference in New Issue
Block a user