// Update is called once per frame void Update() { if (delay < 0) { textMsj.enabled = false; } delay -= Time.deltaTime; if (Input.GetKeyDown(KeyCode.I)) { pi.ActiveBGNote(); Cursor.visible = !Cursor.visible; } }