Title: Clarify comment in "Making a Custom Player Spawner - On Scene Load" #1047
Maciej92Zareba
started this conversation in
Documentation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Refering to this [https://fish-networking.gitbook.io/docs/tutorials/simple/making-a-custom-player-spawner/on-scene-load]
In the Player spawner tutorial part 2, the comment above OnSpawnServer currently says:
// This method runs on the server when the client is about to spawn this object.
This may be interpreted as referring to the player object that will be spawned. However, this object actually refers to the ScenePlayerSpawner instance itself.
Consider changing it to something like:
// This method runs on the server when the client is about to spawn this ScenePlayerSpawner object.
to make the intent clearer for readers who are new to FishNet.
Beta Was this translation helpful? Give feedback.
All reactions