예제 #1
0
    // Update is called once per frame
    void Update()
    {
        _fuelIncText.text = "+" + (_fuelTank.GetFuelAmount()).ToString();

        if (_fuelTank.ItemGetCheck() == true)
        {
            Debug.Log("Test");
            _itemGetAnime.SetTrigger("ItemGet");
        }
    }