Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FarrierDots = {}
- FarrierDots.name = "FarrierDots"
- FarrierDots.version = "v1.0.0"
- local function FarrierDots_Initialize(eventCode, addOnName)
- if (addOnName == FarrierDots.name) then
- EVENT_MANAGER:UnregisterForEvent(FarrierDots.name .. "_ADDON_LOADED", EVENT_ADD_ON_LOADED)
- --Set anchor position
- FarrierDotsUi:ClearAnchors()
- FarrierDotsUi:SetAnchor(TOPLEFT, GuiRoot, nil, 0, 0)
- d("FarrierDots initialized")
- -- Set all the dots.
- -- Initialize event callbacks. Must be below the fns they call.
- EVENT_MANAGER:RegisterForEvent(FarrierDots.name .. "_ADDON_LOADED", EVENT_ADD_ON_LOADED, FarrierDots_Initialize)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement