概要
方法
FindService(className: string):Instance |
GetService(className: string):Instance |
getService(className: string):Instance |
活动
ServiceAdded(service: Instance):RBXScriptSignal |
ServiceRemoving(service: Instance):RBXScriptSignal |
API 参考
方法
FindService
GetService
getService
service
活动
Close
代码示例
服务提供者.关闭
local function onClose()
print("该地点正在关闭")
end
game.Close:Connect(onClose)