> For the complete documentation index, see [llms.txt](https://reflective-roommanager.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://reflective-roommanager.gitbook.io/docs/user-manual/network/utilities/network-spawn-utilities.md).

# Network Spawn Utilities

This class provides helper methods for creating and managing objects on the network.

### **Methods**

1. ```csharp
   public static GameObject SpawnObject(GameObject obj,
   Vector3 position = default,
   Quaternion rotation = default)
   ```
   * **Parameters:**
     * `obj`: The object to be created.
     * `position` (default value: `default`): Position of the created object.
     * `rotation` (default value: `default`): Rotation of the created object.
   * If the network manager is not present, it warns and returns `null`. Otherwise it creates the object, shares it on the network, and returns the created object.
2. <pre class="language-csharp" data-full-width="false"><code class="lang-csharp">public static GameObject SpawnObjectForScene(Scene scene,
   GameObject obj,
   Vector3 position = default,
   Quaternion rotation = default)
   </code></pre>
   * **Parameters:**
     * `scene`: The scene where the object should be added.
     * `obj`: The object to be created.
     * `position` (default value: `default`): Position of the created object.
     * `rotation` (default value: `default`): Rotation of the created object.
   * If the network manager is not present, it warns and returns `null`. Otherwise it adds the object to the specified scene and returns the object.
3. ```csharp
   public static IEnumerable<GameObject> GetSpawnablePrefabs()
   ```
   * Returns a list of spawnable objects to be loaded from resources.
