One more question!
What would be the best way to get access (or get reference) to first member frame of the group?
I'm currently doing it this way.
Lua Code:
-- string comparison to see if the current frame is the first member frame of the group
-- e.g. MyUI_Raid1UnitButton1
if E:StringEndsWith(frame:GetName(), "1") then
-- get parent
local group = frame:GetParent();
end
This would work fine, but I am curious if there is any better solution to achieve this.