Exemplo n.º 1
0
        private void Reset()
        {
            var gObj = GameObject.FindObjectOfType <TooltipManager>()?.gameObject ?? new GameObject("TooltipManager", typeof(TooltipManager));

            tooltipManager = gObj.GetComponent <TooltipManager>();
            tooltipManager.Hide();
        }
Exemplo n.º 2
0
 private void Awake()
 {
     tooltipManager = GameObject.FindObjectOfType <TooltipManager>();
 }