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