You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a NetworkObject component gets initialized it invokes onNetworkStart a Unity event attached to the component. However there is another way of doing it as well, if any of your components attached to the same GameObject the NetworkObject is attached to have a method named "NetworkStart" it will automatically get invoked on a NetworkStart. Allowing for more customization and flexiblity.
You must check detectNetworkStart in the NetworkObject component, or inside the NetworkData component for the PrefabDomain's default.