Ejemplo n.º 1
0
 public void OnDestroy()
 {
     _toolTipCalcs.OnDisable();
     _inputScheme  = null;
     _myDataHub    = null;
     _toolTipCalcs = null;
 }
Ejemplo n.º 2
0
 public void OnDisable()
 {
     EnableNodeAfterBeingDisabled();
     UnObserveEvents();
     DoHighlighted = null;
     DoSelected    = null;
     _myDataHub    = null;
 }
Ejemplo n.º 3
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();
        }
Ejemplo n.º 4
0
 public void UseEZServiceLocator()
 {
     _inputScheme = EZService.Locator.Get <InputScheme>(this);
     _myDatHub    = EZService.Locator.Get <IDataHub>(this);
 }
Ejemplo n.º 5
0
 public void UseEZServiceLocator()
 {
     _myDataHub     = EZService.Locator.Get <IDataHub>(this);
     HistoryTracker = EZService.Locator.Get <IHistoryTrack>(this);
 }
Ejemplo n.º 6
0
 public void UseEZServiceLocator() => _myDataHub = EZService.Locator.Get <IDataHub>(this);
Ejemplo n.º 7
0
 public void OnDisable() => _myDataHub = null;
Ejemplo n.º 8
0
 public virtual void OnDestroy()
 {
     UnObserveEvents();
     _myDataHub = null;
 }
Ejemplo n.º 9
0
 public virtual void OnDisable()
 {
     UnObserveEvents();
     _myDataHub = null;
 }
Ejemplo n.º 10
0
 public void UseEZServiceLocator()
 {
     _canvasOrderData = EZService.Locator.Get <ICanvasOrderData>(this);
     _myDataHub       = EZService.Locator.Get <IDataHub>(this);
 }
Ejemplo n.º 11
0
 public virtual void UseEZServiceLocator()
 {
     _myDataHub    = EZService.Locator.Get <IDataHub>(this);
     _historyTrack = EZService.Locator.Get <IHistoryTrack>(this);
 }
Ejemplo n.º 12
0
 public void UseEZServiceLocator()
 {
     _inputScheme    = EZService.Locator.Get <InputScheme>(this);
     _uiHistoryTrack = EZService.Locator.Get <IHistoryTrack>(this);
     _myDataHub      = EZService.Locator.Get <IDataHub>(this);
 }
Ejemplo n.º 13
0
 public void OnDestroy()
 {
     UnObserveEvents();
     _myDataHub    = null;
     _disabledNode = null;
 }
Ejemplo n.º 14
0
 public void UseEZServiceLocator()
 {
     _myDataHub = EZService.Locator.Get <IDataHub>(this);
     _myUIHub   = EZService.Locator.Get <IHub>(this);
 }