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