void OnMouseOver() { //For Later UI Stuff if (!selected) { StarInfoGUI gui = GameObject.Find("Canvas").GetComponent <StarInfoGUI>(); gui.guiHolder.transform.position = Input.mousePosition; gui.DrawStarInfo(starInfo); } }
void OnMouseExit() { StarInfoGUI gui = GameObject.Find("Canvas").GetComponent <StarInfoGUI>(); gui.UndrawStarInfo(); }