Hi all, I'm getting error CS1041: Identifier expected for line 8. Any help?

using UnityEngine;
using System.Collections;

public class MascRespawn : MonoBehaviour {

private var dead = false;

void OnControllerColliderHit(ControllerColliderHit)
{
if(hit.gameObject.tag == “fallout”)
{
}
}

void LateUpdate()
{
if(dead)
{
Transform.position = Vector3(-25.8, 147.5, 37.1);
GameObject.Find(“Camera Masc”).transform.position = Vector3(-24.2, 359.6, 35.2);
dead = false;
}
}}

Well you clearly don’t know what you’re doing, I’d suggest you to check my answer HERE. Anyway I’ve corrected it for you:

using UnityEngine; 
using System.Collections;

public class MascRespawn : MonoBehaviour
{
    private bool dead = false;
    void OnControllerColliderHit(ControllerColliderHit hit)
    {
        if (hit.gameObject.tag == "fallout")
        {

        }
    }
    void LateUpdate()
    {
        if (dead)
        {
            transform.position = new Vector3(-25.8f, 147.5f, 37.1f);
            GameObject.Find("Camera Masc").transform.position = new Vector3(-24.2f, 359.6f, 35.2f); 
            dead = false;
        }
    }
}