public void OnGlobalEnable()
	{
		PlayerShoot.isChangingUIBorder += ChangingArrow;
		_giveAllObjectsToManagers = GameObject.FindGameObjectWithTag("GiveAllObjectsToManagers").GetComponent<GiveAllObjectsToManagers>();
		_arrowType = _giveAllObjectsToManagers.player.GetComponent<PlayerShoot>();
		_UIBorder  = this.GetComponent<SortGameObjectsChildrenByName>().sortArrayFromName(_giveAllObjectsToManagers.showCurrentAmmo);

		for(int i = 0; i < _UIBorder.Length; i++)
		{
			_UIBorder[i].gameObject.SetActive(false);
			_UIBorder[0].gameObject.SetActive(true);
		}
	}
	public void OnGlobalEnable()
	{
		_managerArray = this.GetComponent<ManagerArray>();
		_managerInput = this.GetComponent<ManagerInput>();
		_giveAllObjectsToManagers = GameObject.FindGameObjectWithTag("GiveAllObjectsToManagers").GetComponent<GiveAllObjectsToManagers>();

		_player = _giveAllObjectsToManagers.player;
		_elementMenuToShow = _giveAllObjectsToManagers.menuGame;
		_elementGameOverToShow = _giveAllObjectsToManagers.menuLoose;
		_elementWinToShow = _giveAllObjectsToManagers.menuWin;

		_displayMenuOnce = true;
		_canPause = true;
		_isOnGame = true;
	}
	public void OnGlobalEnable()
	{
		PlayerShoot.isChangingArrow += ChangingArrow;
	
		_giveAllObjectsToManagers = GameObject.FindGameObjectWithTag("GiveAllObjectsToManagers").GetComponent<GiveAllObjectsToManagers>();
		_displayArrayHook = this.GetComponent<SortGameObjectsChildrenByName>().sortArrayFromName(_giveAllObjectsToManagers.UIArrayArrowHook);
		_displayArrayTripleArrow = this.GetComponent<SortGameObjectsChildrenByName>().sortArrayFromName(_giveAllObjectsToManagers.UIArrayArrowTriple);

		_ammo = _giveAllObjectsToManagers.player.GetComponent<PlayerShoot>();
		
		for(int i = 0; i < _displayArrayHook.Length; i++)
		{
			_displayArrayHook[i].gameObject.SetActive(false);
		}
		
		for(int i = 0; i < _displayArrayTripleArrow.Length; i++)
		{
			_displayArrayTripleArrow[i].gameObject.SetActive(false);
		}
	}