コード例 #1
0
 // Update is called once per frame
 void Update()
 {
     if (Physics2D.OverlapCircle(transform.position, coll.radius, justPlayer))
     {
         mainManager.BeginNextLevel();
     }
 }