Cannot implicitly convert type 'float' to 'bool'

Assets/LightScriptoid.cs(13,17): error CS0029: cannot implicitly convert type ‘float’ to ‘bool’

Here’s the script im using:

using UnityEngine;
using System.Collections;

public class LightScriptoid : MonoBehaviour {

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
		if (gameObject.particleSystem.startDelay = 2){
			gameObject.light.intensity = 1;
		}
	}
}

I am trying to make a fire where the light starts up only when the fire does too.

= isn’t a comparison, it’s an assignment.

Use ==.