If I do not make GC.collect(), Is using new GUIContent() in Unity causes memory leaks like creating new classes? I’m interested in this question cose of found this thing in unitydoc, I heard about automatic memory managment, but does not this code will increase the frequency of them?:
void OnGUI() {
GUI.Button(new Rect(0, 0, 100, 20), "Click Me");
GUI.Button(new Rect(0, 30, 100, 20), new GUIContent("Click Me"));
}