Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/_docs/the-basics/object-spawning.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The .Spawn() method takes 2 parameters, both with default values, so they are op
```csharp
public void Spawn(Stream spawnPayload = null, bool destroyWithScene = false);
```
The first parameter is a System.IO.Stream and can be retrieved in the NetworkStart() to sync values once when spawning this object. Note however, that the payload data is only avalible for people that get the spawn call straight away. People that join later on won't get the payload data.
The first parameter is a System.IO.Stream and can be retrieved in the NetworkStart() to sync values once when spawning this object. Note however, that the payload data is only available for people that get the spawn call straight away. People that join later on won't get the payload data.

The second parameter speaks for itself. If set to true, the object will be destroyed on scene switching. This can only be set inside the spawn call.

Expand Down