// Update is called once per frame
 void Update()
 {
     if (UICamera.hoveredObject == gameObject)
     {
         TooltipDisplay.DisplayTooltip(subactionVarDataPanel.varData.description, gameObject);
     }
 }
Ejemplo n.º 2
0
 // Update is called once per frame
 void Update()
 {
     if (UICamera.hoveredObject == gameObject)
     {
         TooltipDisplay.DisplayTooltip(subactionCard.subaction.ToString(), gameObject);
     }
 }
Ejemplo n.º 3
0
 private void Update()
 {
     if (UICamera.hoveredObject == gameObject)
     {
         TooltipDisplay.DisplayTooltip(tooltipText, gameObject);
     }
 }
Ejemplo n.º 4
0
 // Update is called once per frame
 void Update()
 {
     if (UICamera.hoveredObject == gameObject)
     {
         TooltipDisplay.DisplayTooltip(button.subData.Description, gameObject);
     }
 }