View Single Post
01-25-24, 09:15 AM   #7
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,894
The .texture part is just making a table key, it could be anything. The :CreateTexture() creates the texture region and by using testFrame:CreateTexture() just means that testFrame will automatically be the parent of the new texture.

Code:
testFrame.SomethingToPutAPrettyPictureIn = testFrame:CreateTexture()
Same as
Code:
testFrame["SomethingToPutAPrettyPictureIn"] = testFrame:CreateTexture()
I get the feeling these days that some of the responses/questions in response seem like AI in training.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 01-25-24 at 10:09 AM.
  Reply With Quote