Slide 23
Slide 23 text
23
Prefab ͔Βͷ Spawn
Process flow
[Inject] private IFactory
MoleViewFactory { get; }
private List MoleViewList { get; }
= new List();
public void Instantiate(int index, IMole mole)
{
var moleView = MoleViewFactory.Create(index, mole);
MoleViewList.Add(moleView);
}
w͜ͷྫͷ߹ɺ1SFTFOUFSͰ4QBXO
͍ͯ͠Δײ͡