Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using UnityEngine;
- public class Player : MonoBehaviour
- {
- [SerializeField] private Vector3 startPosition;
- // Start is called before the first frame update
- void Start()
- {
- /*transform.position = startPosition;*/
- }
- void Update()
- {
- transform.position = startPosition;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement