Skip to content

Commit

Permalink
Merge pull request #152 from Reimajo/patch-1
Browse files Browse the repository at this point in the history
Replaced OnSpawn() with OnEnable() in VRChat-API.md
  • Loading branch information
Faxmashine committed Jan 26, 2024
2 parents c244625 + 02ad3d6 commit 7ac6c08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/Docusaurus/docs/VRChat-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ VRC Object Pool provides a lightweight method of managing an array of game objec

Objects are made active by the pool via the TryToSpawn node, which will return the object that was made active, or a null object if none are available. Objects may be returned to the pool by the pool's owner, and automatically disabled, via the Return node.

When objects are enabled by the pool the OnSpawn event is fired, which an udon behaviour on the object may listen for.
When objects are enabled by the pool the OnEnable event is fired, which an udon behaviour on the object may listen for.

Late joiners will have the objects automatically made active or inactive where appropriate.

Expand Down

0 comments on commit 7ac6c08

Please sign in to comment.