void OnPress(bool isPressed) { // 调用鼠标提示 if (isPressed) { UTooltipManager.setTooltip(this.gameObject, _ItemTipsPanel, _dataItem); } else { UTooltipManager.Hidden(); } }
void OnPress(bool isPressed) { // 调用鼠标提示 if (isPressed) { UTooltipManager.setTooltip(this._Icon_Texture.gameObject, _ItemTipsPanel, _ItemName); } else { UTooltipManager.Hidden(); } }