public static TPresenter Create(PrefabGenParams genParams)
        {
            _delegateCache ??= CreateInstanceDelegate();

            return(_delegateCache(genParams));
        }
Example #2
0
 protected PresenterBase(PrefabGenParams prefabGenParams)
 {
     TargetView = PrefabFactory.Create <T>(prefabGenParams.PrefabPath, prefabGenParams.GetCanvasTransform());
     _canvas    = prefabGenParams.targetCanvas;
     SetActiveView(false);
 }