revival/game/Assets/RespawnManager.cs

24 lines
419 B
C#
Raw Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RespawnManager : MonoBehaviour
{
private Vector3 respawnPoint;
public void setRespawnPoint(Vector3 _respawnPoint)
{
respawnPoint = _respawnPoint;
}
public Vector3 getRespawnPoint()
{
return respawnPoint;
}
private void Update()
{
Debug.Log(respawnPoint);
}
}