error CS0131: The left-hand side of an assignment must be a variable, a property or an indexer

using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using UnityEngine.SceneManagement;

public class gameScript : MonoBehaviour {

	public GameObject playerInfoScreen;


	// Use this for initialization
	void Start () 
	{
		playerInfoScreen = playerInfoScreen.GetComponent<GameObject> ();
	}

	public void infoEnable()
	{
		playerInfoScreen.SetActive = true;
	}
	public void infoDisable()
	{
		playerInfoScreen.SetActive = false;
	}
}

I get this error : The left-hand side of an assignment must be a variable, a property or an indexer
already tried everything, searched forum, google and tried posting here.

Any ideas how to fix ? I am newbie in Unity

It’s

playerInfoScreen.SetActive(false);

or

playerInfoScreen.SetActive(true);

It’s probably because your assigning a variable to to that same variable, but it hasn’t been assigned yet.

Or it’s because GameObject isn’t a component.

SetActive is a method of GameObject, so you cannot assign a value to it.
You have to pass parameter in it

Use it like this.

playerInfoScreen.SetActive(true);
playerInfoScreen.SetActive(false);