Jedność dezaktywuj skrypty na liście
public List<MonoBehaviour> Scripts = new List<MonoBehaviour>();
void Update()
{
foreach (var sc in Scripts)
{
//Active Scripts in List
sc.enabled = true;
//Deactive Scripts in List
sc.enabled = false;
}
}
JojoYou