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