コード例 #1
0
 public ResourceResult(ICoroutineProvider coroutineProvider, string prefab)
 {
     _instances         = new List <GameObject>();
     _pool              = new Stack <GameObject>();
     _coroutineProvider = coroutineProvider;
     _prefab            = prefab;
     _onResult          = new Signal <ResourceResult>(Lifetime.Eternal);
 }
コード例 #2
0
 public PrefabResourceManager(ICoroutineProvider coroutineProvider)
 {
     _coroutineProvider = coroutineProvider;
     _map = new Dictionary <string, ResourceResult>();
 }