// Update is called once per frame void Update() { _fuelIncText.text = "+" + (_fuelTank.GetFuelAmount()).ToString(); if (_fuelTank.ItemGetCheck() == true) { Debug.Log("Test"); _itemGetAnime.SetTrigger("ItemGet"); } }