예제 #1
0
 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();
 }
예제 #2
0
 public void Verbose(ScriptableObject text)
 {
     Debug.Log("<" + this + ">: " + text.ToString());
 }