// Update is called once per frame void Update() { if (MonsHP <= 0) { resultManager.Death(); //TakeSEはこっちから送る文字で返すやつを決める SEclip = SEDate.TakeSE("Death"); se.GiveOnClick(SEclip); Destroy(this.gameObject); } }
// Update is called once per frame void Update() { if (MonsHP <= 0) { resultManager.Death(); //TakeSEはこっちから送る文字で返すやつを決める SEclip = SEDate.TakeSE("Death"); se.GiveOnClick(SEclip); Destroy(this.gameObject); } }