Quantcast
Channel: Answers for "how to save last position for the player before he die"
Browsing latest articles
Browse All 4 View Live

Answer by freshgamer10

Create a GameManager script or something along those lines, then create a public static Vector3 and access that variable when you die assigning it the transform.position of the player. Now you just...

View Article


Answer by andrew-lukasik

Add to your player script like this one for example: using UnityEngine; using System.Collections; public class RespawnMe : MonoBehaviour { private static Vector3 respawnPosition = Vector3.zero; private...

View Article

Browsing latest articles
Browse All 4 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>