void OnShopComplete() { foreach (Transform tf in canvas.transform) { tf.gameObject.SetActive(false); } gameObject.SetActive(false); fightState.OnShopEnd(); }