using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class DisableAfterFinishController : MonoBehaviour { public event Action DoDisable; public void Disabele() { DoDisable?.Invoke(); } }