I’m currently having trouble figuring out how to replace certain text in my GUI with a button. I’m parsing it out correctly, and getting the correct dimensions, but I can’t for the life of me figure out how to find the X and Y coordinate of the first character that I’m parsing out. Any help or point in the right direction would be greatly appreciated.
var buttonLocationRect =
Engine.Skin.textArea.GetCursorPixelPosition(Engine.BoxRect), new GUIContent(infoString),