1using System.Collections;
2using System.Collections.Generic;
5[RequireComponent(typeof(BoxCollider2D))]
SceneName
Describes different scenes.
This class has all the things related to player
Manage the transition between scenes
void OnTriggerStay2D(Collider2D collision)
If the collision happened with player, then teleport it to next scene.
SceneName m_SceneNameGoTo
Vector3 m_ScenePositionGoTo