Hi everyone, is there a way to kill or destroy a GUIlayout element? I need a way to get rid of the GUILayout.Labels after the mouse goes over the gameobject that the script is attached to.
Void OnMouseOver(){
GUILayout.Label("someLabel1");
GUILayout.Label("someLabel2");
GUILayout.Label("someLabel3");
}
Void OnMouseExit(){
//Kill GUILayout.Labels
}