Example #1
0
        //Main
        private void Awake()
        {
            var uIInput = GetComponent <IInput>();

            _startingInGame = uIInput.StartInGame();
            GetHomeScreenBranches();
            _historyTrack  = EZInject.Class.NoParams <IHistoryTrack>();
            _cancelHandler = EZInject.Class.NoParams <ICancel>();
            _audioService  = EZInject.Class.WithParams <IAudioService>(this);
            AddService();
            _myDataHub = new DataHub(MainCanvasRect);
            _myDataHub.OnAwake();
        }
Example #2
0
 public MoveBackInHistory(IHistoryTrack historyTracker)
 {
     _historyTracker        = historyTracker;
     _historyListManagement = historyTracker.HistoryListManagement;
 }
Example #3
0
 public NewSelectionProcess(IHistoryTrack historyTracker)
 {
     _historyTracker    = historyTracker;
     _historyManagement = historyTracker.HistoryListManagement;
 }
Example #4
0
 public MultiSelectSystem(IHistoryTrack historyTrack)
 {
     _historyTracker = historyTrack;
 }
Example #5
0
 public HistoryListManagement(IHistoryTrack historyTracker)
 {
     _historyTracker = historyTracker;
 }
Example #6
0
 public virtual void OnDestroy()
 {
     UnObserveEvents();
     _myDataHub    = null;
     _historyTrack = null;
 }
Example #7
0
 public virtual void UseEZServiceLocator()
 {
     _myDataHub    = EZService.Locator.Get <IDataHub>(this);
     _historyTrack = EZService.Locator.Get <IHistoryTrack>(this);
 }
Example #8
0
 public ManagePopUpHistory(IHistoryTrack historyTracker) => _historyTracker = historyTracker;
Example #9
0
 public void UseEZServiceLocator()
 {
     _inputScheme    = EZService.Locator.Get <InputScheme>(this);
     _uiHistoryTrack = EZService.Locator.Get <IHistoryTrack>(this);
     _myDataHub      = EZService.Locator.Get <IDataHub>(this);
 }