Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
void OnTriggerEnter2D(Collider2D col) { if (col.gameObject.CompareTag("Player")) { Respawn playerRespawn = col.gameObject.GetComponent <Respawn>(); playerRespawn.ToMenu(); } }