This version of Unity is unsupported.
Method group is Obsolete

NetworkServer.SpawnObjects

Obsolete The high level API classes are deprecated and will be removed in the future.

Declaration

public static bool SpawnObjects();

Returns

bool Success if objects where spawned.

Description

This causes NetworkIdentity objects in a Scene to be spawned on a server.

NetworkIdentity objects in a Scene are disabled by default. Calling SpawnObjects() causes these Scene objects to be enabled and spawned. It is like calling NetworkServer.Spawn() for each of them.