20 lines
519 B
C#
20 lines
519 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using VContainer;
|
|
using VContainer.Unity;
|
|
|
|
namespace BriarQueen.Game.Cinematics.Scopes
|
|
{
|
|
public class CinematicScope : LifetimeScope
|
|
{
|
|
[SerializeField]
|
|
private List<BaseCinematic> _cinematics;
|
|
|
|
protected override void Configure(IContainerBuilder builder)
|
|
{
|
|
if (_cinematics.Count > 0)
|
|
foreach (var component in _cinematics)
|
|
builder.RegisterComponent(component);
|
|
}
|
|
}
|
|
} |