using System.Collections; using System.Collections.Generic; using Sirenix.OdinInspector; using UnityEngine; namespace Beyond { public class CourtRoomShadowController : MonoBehaviour { [SerializeField] private List m_shadows = new List(); [Button] public void SpawnEnemies() { m_shadows.ForEach(x => { // x.ShadowPrefab.SpawnEndEffect(); x.ShadowPrefab.SpawnEndObject(); }); } } }