Beispiel #1
0
        private void Awake()
        {
            if (instance == null)
            {
                instance = this;
                transform.SetParent(null);
                DontDestroyOnLoad(gameObject);
            }
            else
            {
                Destroy(instance);
            }

            background = tooltipNode.GetComponent <Image>();
        }
Beispiel #2
0
 protected void Start()
 {
     tooltipDisplayer = TooltipDisplayer.instance;
 }