public ResourceResult(ICoroutineProvider coroutineProvider, string prefab) { _instances = new List <GameObject>(); _pool = new Stack <GameObject>(); _coroutineProvider = coroutineProvider; _prefab = prefab; _onResult = new Signal <ResourceResult>(Lifetime.Eternal); }
public PrefabResourceManager(ICoroutineProvider coroutineProvider) { _coroutineProvider = coroutineProvider; _map = new Dictionary <string, ResourceResult>(); }