유저가 작성한 Lua 함수를 연결, 특정 상황에 연결된 함수를 호출해 주는 객체
bool Connect(LuaFunctionName)
local function EnterPlayer (Player) Logger:Log(“Hello”) end -- Game.OnEnterPlayer가 RModeEventFunction을 리턴 Game.OnEnterPlayer:Connect(EnterPlayer)
Last updated 5 years ago
Was this helpful?