public string ToolTip() { Component component = GetComponent(typeof(IObjectData)); IObjectData objData = component as IObjectData; if (objData.count() != 1) { return(objData.toolTip() + " x" + objData.count()); } return(objData.toolTip()); }