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