Class: PlayerLeaveAfterEventSignal
event playerBeta
管理连接到玩家离开世界事件的回调。
Manages callbacks that are connected to a player leaving the world.
Methods
subscribe()
subscribe(
callback): (arg0) =>void
World Mutation Early Execution Beta
Parameters
callback
(arg0) => void
Returns
(arg0) => void
Remarks
添加一个将在玩家离开世界时调用的回调。
Adds a callback that will be called when a player leaves the world.
unsubscribe()
unsubscribe(
callback):void
World Mutation Early Execution Beta
Parameters
callback
(arg0) => void
Returns
void
Remarks
移除一个在玩家离开世界时调用的回调。
Removes a callback from being called when a player leaves the world.
