コード例 #1
0
 public void OnReceiveFocus()
 {
     Debug.Log("<color=green>" + btnID + ": received focus</color>");
     // TODO: Add check if we have some data that needs to be shown
     if (toolTipController != null && toolTipData.HasElement(ToolTipElementID.SmallToolTipText))
     {
         //toolTipController.ToolTipNeedsToBeShown (gameObject.transform.position, toolTipData);
         toolTipController.ToolTipNeedsToBeShown(toolTipData);
     }
 }