public AppController(IContextProvider contextProvider, IFlowProvider flowProvider, IServiceProvider serviceProvider, IFlowConfigurationProvider flowConfigurationProvider) { this.contextProvider = contextProvider; this.flowProvider = flowProvider; this.serviceProvider = serviceProvider; this.flowConfigurationProvider = flowConfigurationProvider; }
private void CleanUp() { foreach (var lodData in _lodDatas) { lodData.OnDisable(); } _lodDatas.Clear(); #if UNITY_EDITOR if (!EditorApplication.isPlaying && Root != null) { DestroyImmediate(Root.gameObject); } else #endif if (Root != null) { Destroy(Root.gameObject); } Root = null; _lodTransform = null; _lodDataAnimWaves = null; _lodDataClipSurface = null; _lodDataDynWaves = null; _lodDataFlow = null; _lodDataFoam = null; _lodDataSeaDepths = null; _lodDataShadow = null; if (CollisionProvider != null) { CollisionProvider.CleanUp(); CollisionProvider = null; } if (FlowProvider != null) { FlowProvider.CleanUp(); FlowProvider = null; } _oceanChunkRenderers.Clear(); }
public ScoresApp(ILogger <ScoresApp> logger, IServiceProvider serviceProvider, IFlowProvider flowProvider) { _logger = logger; _serviceProvider = serviceProvider; _flowProvider = flowProvider; }
public AccountingService(IFlowProvider flowProvider) { this.flowProvider = flowProvider; }
public MarcoController(IPublisher publisher, IFlowProvider flowProvider, Visualizer visualizer) { this.publisher = publisher; this.flowProvider = flowProvider; this.visualizer = visualizer; }
public ParallelFlowController(IFlowProvider flowProvider, IExampleState exampleState) { this.flowProvider = flowProvider; this.exampleState = exampleState; }
public FlowEndController(IFlowProvider flowProvider) { this.flowProvider = flowProvider; }