// Start is called before the first frame update void Start() { rect = this.GetComponent <RectTransform>(); if (!tooltipViewer) { tooltipViewer = FindObjectOfType <TooltipViewer>(); } }