1
using System
.Collections
;
2 using System
.Collections
.Generic
;
5 public class SpawnBox
: MonoBehaviour
{
13 void OnTriggerEnter2D(Collider2D col
)
15 if(col
.tag
== "YarnPhysics")
16 Instantiate(Wave
, transform
.position
, Quaternion
.identity
).GetComponent
<Wave
>().SetCamera(camera
);