using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; public class nbObstacle : MonoBehaviour { public TMP_Text textshowed; public static void decreaseObstacle() { Ui.nbObst = Ui.nbObst - 1; } }