This is my code:
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Obstacle : MonoBehaviour { public int damage =