// Start is called before the first frame update void Start() { if (Instance != null && Instance != this) { Destroy(this.gameObject); } else { Instance = this; } }
public void OnMouseDown() { if (j == 0) { text245.SetActive(false); Infotext.SetActive(true); j = 1; } else { text245.SetActive(true); Infotext.SetActive(false); j = 0; } }