First commit for private source control. Older commits available on Github.
This commit is contained in:
20
Assets/Scripts/Game/Cinematics/Scopes/CinematicScope.cs
Normal file
20
Assets/Scripts/Game/Cinematics/Scopes/CinematicScope.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: eb0a6d9650bf4c759ebcef1ed4f1eba1
|
||||
timeCreated: 1770666441
|
||||
Reference in New Issue
Block a user