public void OnDestroy() { _toolTipCalcs.OnDisable(); _inputScheme = null; _myDataHub = null; _toolTipCalcs = null; }
public void OnDisable() { EnableNodeAfterBeingDisabled(); UnObserveEvents(); DoHighlighted = null; DoSelected = null; _myDataHub = null; }
//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(); }
public void UseEZServiceLocator() { _inputScheme = EZService.Locator.Get <InputScheme>(this); _myDatHub = EZService.Locator.Get <IDataHub>(this); }
public void UseEZServiceLocator() { _myDataHub = EZService.Locator.Get <IDataHub>(this); HistoryTracker = EZService.Locator.Get <IHistoryTrack>(this); }
public void UseEZServiceLocator() => _myDataHub = EZService.Locator.Get <IDataHub>(this);
public void OnDisable() => _myDataHub = null;
public virtual void OnDestroy() { UnObserveEvents(); _myDataHub = null; }
public virtual void OnDisable() { UnObserveEvents(); _myDataHub = null; }
public void UseEZServiceLocator() { _canvasOrderData = EZService.Locator.Get <ICanvasOrderData>(this); _myDataHub = EZService.Locator.Get <IDataHub>(this); }
public virtual void UseEZServiceLocator() { _myDataHub = EZService.Locator.Get <IDataHub>(this); _historyTrack = EZService.Locator.Get <IHistoryTrack>(this); }
public void UseEZServiceLocator() { _inputScheme = EZService.Locator.Get <InputScheme>(this); _uiHistoryTrack = EZService.Locator.Get <IHistoryTrack>(this); _myDataHub = EZService.Locator.Get <IDataHub>(this); }
public void OnDestroy() { UnObserveEvents(); _myDataHub = null; _disabledNode = null; }
public void UseEZServiceLocator() { _myDataHub = EZService.Locator.Get <IDataHub>(this); _myUIHub = EZService.Locator.Get <IHub>(this); }