using NUnit.Framework; using System.Collections.Generic; using UnityEngine; public class StatuesGroupController : MonoBehaviour { [SerializeField] private List statuesBehaviour; public void ForceToFreezeStatues() { foreach (var statue in statuesBehaviour) { statue.ForceToFreezeStatue(); } } public void EnableStatuesBehaviour() { foreach (var statue in statuesBehaviour) { statue.enabled = true; } } public void DisableStatuesBehaviour() { foreach (var statue in statuesBehaviour) { statue.enabled = false; } } }