remove extraneous debug logs
This commit is contained in:
parent
a9dfbbc99d
commit
9baddf74a1
|
@ -15,7 +15,6 @@ public class SafeZone : MonoBehaviour
|
||||||
if (other.gameObject.CompareTag("Player"))
|
if (other.gameObject.CompareTag("Player"))
|
||||||
{
|
{
|
||||||
_respawnPosition.Value = other.gameObject.transform.position;
|
_respawnPosition.Value = other.gameObject.transform.position;
|
||||||
Debug.Log($"set spawn {_respawnPosition}");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -22,7 +22,6 @@ public class PlayerDeath : MonoBehaviour
|
||||||
yield return new WaitForSeconds(1.5f);
|
yield return new WaitForSeconds(1.5f);
|
||||||
|
|
||||||
// move player to respawn position
|
// move player to respawn position
|
||||||
Debug.Log($"spawn at {_respawnPosition}");
|
|
||||||
transform.position = _respawnPosition;
|
transform.position = _respawnPosition;
|
||||||
|
|
||||||
// need to wait a bit for the respawn to actually work?? >:v
|
// need to wait a bit for the respawn to actually work?? >:v
|
||||||
|
|
Loading…
Reference in New Issue