private void Awake() { if (instance == null) { instance = this; transform.SetParent(null); DontDestroyOnLoad(gameObject); } else { Destroy(instance); } background = tooltipNode.GetComponent <Image>(); }
protected void Start() { tooltipDisplayer = TooltipDisplayer.instance; }