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

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