public static TPresenter Create(PrefabGenParams genParams) { _delegateCache ??= CreateInstanceDelegate(); return(_delegateCache(genParams)); }
protected PresenterBase(PrefabGenParams prefabGenParams) { TargetView = PrefabFactory.Create <T>(prefabGenParams.PrefabPath, prefabGenParams.GetCanvasTransform()); _canvas = prefabGenParams.targetCanvas; SetActiveView(false); }