public void OnMouseEnter() { txtTooltip.gameObject.SetActive(true); txtTooltip.text = tooltipObject.ToString(); txtTooltip.transform.GetChild(0).GetComponent <Text>().text = tooltipObject.ToString(); //txtTooltip.GetComponentInChildren<Text>().text = tooltipObject.ToString(); }
public void Verbose(ScriptableObject text) { Debug.Log("<" + this + ">: " + text.ToString()); }