public void SwitchBuyCarButton(bool isDrag = false) { if (!isDrag) { BuyCarButton.gameObject.SetActive(true); DeleteButton.gameObject.SetActive(false); } else { BuyCarButton.gameObject.SetActive(false); DeleteButton.gameObject.SetActive(true); DeleteButton.DOScale(new Vector3(1.1f, 1.1f, 1.1f), 0.2f).SetEase(Ease.OutBack).SetLoops(-1); } }