ButtonTexture not loading
Code:
SK.Frame = CreateFrame("Frame", "SK Test") |
You need to escape the slashes in your file paths, or else Lua will skip right over them when reading through.
Code:
button:SetNormalTexture("Interface\\Buttons\\UI-Panel-MinimizeButton-Up") |
Is there a major programming difference between " and ' in LUA? ( I primarily code PHP, and " allows for variables to be inserted and escape characters to be used, while ' is a litteral )
Thanks! :) |
no, " and ' work the same
however there is a token that allows for that [[Interface\Addons\MyAddon\media\myTexture]] and [=[Interface\Addons\MyAddon\media\myTexture]=] just make sure there are as many equals on both sides, i dont know if theres a limit too it, but you probably wont need that many :) |
All times are GMT -6. The time now is 04:38 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI