Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function onLeave(self)
- self:SetAlpha(0)
- end
- local function onEnter(self)
- self:SetAlpha(1)
- end
- local function hook(self)
- self:SetScript('OnEnter', onEnter)
- self:SetScript('OnLeave', onLeave)
- end
- -- hook(xxFrame)
Add Comment
Please, Sign In to add comment