Beispiel #1
0
 private void Awake()
 {
     if (instance != null)
     {
         Debug.Log("Another instance of : " + instance.ToString() + " was tried to be instanced, but was destroyed from gameobject: " + this.transform.name);
         GameObject.Destroy(this);
     }
     else
     {
         instance = this;
     }
 }
 public void DisableTooltip() => MouseTooltip.HideTooltip();
 public void SendToTooltip() => MouseTooltip.SetUpToolTip(MouseTooltip.ColorText.Default, information);