Hey Friends.
I have the following lua, which is supposed to make a frame appear. It throws no error and nothing appears but I can confirm the .blp is working as I use it elsewhere. Did I miss something?
Lua Code:
local addonName, addonData = ...
local Installer = CreateFrame("Frame", addonName.."_Installer", UIParent);
Installer.texture = Installer:CreateTexture(nil, "LOW");
Installer.texture:SetTexture("Interface\\Addons\\PawsUI\\Art\\bg.blp");
Installer.texture:SetVertexColor(0, 0, 0, 0.9);
Installer:RegisterEvent("PLAYER_ENTERING_WORLD");
Installer:SetScript("OnEvent", function(self,event,...)
self:SetSize(600, 600);
self:SetPoint("CENTER");
end)
Thank you for taking your time to assist me.