private void PlayExchange() { float pacentP = PlayerManager.Instance.persent_HP / PlayerManager.Instance.HP; float pacentE = GameObject.FindGameObjectWithTag("boss").GetComponent <Lucyfa>().Present_HP / GameObject.FindGameObjectWithTag("boss").GetComponent <Lucyfa>().HP GameObject.FindGameObjectWithTag("boss").GetComponent <Lucyfa>().Present_HP = GameObject.FindGameObjectWithTag("boss").GetComponent <Lucyfa>().HP *pacentP; PlayerManager.Instance.persent_HP = PlayerManager.Instance.HP * pacentE; CardGroup.remove(9); }