rabidus-test/Assets/DisableAfterFinishControlle...

14 lines
259 B
C#

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