Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- public class Teleport : MonoBehaviour {
- [SerializeField] private Transform destination;
- public Transform GetDestination() {
- return Destination;
- }
- }
- // Player.cs was also updated, so check that if you're going to be using this code.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement