protected override void OnInteraction() { base.OnInteraction(); MainPlayerScript.ChangeScore(1000); MainPlayerScript.GameWon(); }
protected override void OnInteraction() { base.OnInteraction(); MainPlayerScript.ChangeScore(50); Destroy(gameObject); }
protected override void OnInteraction() { base.OnInteraction(); MainPlayerScript.ChangeScore(100); Destroy(Door); IsInteractable = false; Highlighted(false); }