IPlayerSpawnAfterEventSignal Class
Classes that extend IPlayerSpawnAfterEventSignal
Provides an adaptable interface for callers to subscribe to an event that fires after a player spawns.
Methods
subscribe
subscribe(callback: (arg: PlayerSpawnAfterEvent) => void): (arg: PlayerSpawnAfterEvent) => void
Subscribes to the event.
Parameters
- callback: (arg: PlayerSpawnAfterEvent) => void
Returns (arg: PlayerSpawnAfterEvent) => void
Important
This function can't be called in read-only mode.
unsubscribe
unsubscribe(callback: (arg: PlayerSpawnAfterEvent) => void): void
Unsubscribes from the event.
Parameters
- callback: (arg: PlayerSpawnAfterEvent) => void
Important
This function can't be called in read-only mode.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for