public void Interact()
 {
     Debug.Log("kfjdfj");
     anim.SetBool("LevelComplete", true);
     player.enabled = false;
     trans.Transition();
 }
Example #2
0
 public void LevelTransition()
 {
     levelTransScript.Transition();
 }
Example #3
0
 void OnTriggerEnter2D(Collider2D col)
 {
     levelTransition.Transition();
     SceneManager.LoadScene("TestLevel1");
 }