Quaterniondoes not contain a definition for
indetity
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LevelManager : MonoBehaviour
{
public static LevelManager instance;
public Transform RespawnPoint;
public GameObject PlayerPrefab;
private void Awake ()
{
instance = this;
}
public void Respawn ()
{
Instantiate(PlayerPrefab, RespawnPoint.position, Quaternion.indetity);
}
}