using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace MPStudio
{
    public class HideFadeOut : MonoBehaviour
    {
        public bool isSp = true;
        
        public float animalCost=1f;
        private void Hide()
        {
            TweenManager.Inst. GrowAlpha(transform,isSp,this.animalCost,1,0, () =>
            {
                gameObject.SetActive(false);
            });
        }
    }
}