private void Reset() { var gObj = GameObject.FindObjectOfType <TooltipManager>()?.gameObject ?? new GameObject("TooltipManager", typeof(TooltipManager)); tooltipManager = gObj.GetComponent <TooltipManager>(); tooltipManager.Hide(); }
private void Awake() { tooltipManager = GameObject.FindObjectOfType <TooltipManager>(); }