Randomize Spawn Time

How can I randomize the Spawn time so that the object is spawned at different intervals of time from the same location.enter code here
Thank You.

public GameObject Obj;	

	// Use this for initialization
	void Start () {

		StartSpawn ();
	}
	
	// Update is called once per frame
	void Update () {

		
	}

	public void StartSpawn(){

		InvokeRepeating ("SpawnObj", 0.2f, 1f);


	}

	void SpawnObj()
	{
		Instantiate(Obj, new Vector3(transform.position.x,transform.position.y, Quaternion.identity);
	
	}
}

I dont know if you can change the time form a InvokeRepeating. You can use Coroutine. Something like This:

public GameObject Obj;    
 
     // Use this for initialization
     void Start () {
 
         StartSpawn ();
     }
     
     // Update is called once per frame
     void Update () {
 
         
     }
 
     public void StartSpawn(){
 
         StartCoroutine("SpawnObj");
 
 
     }
 
     IEnumerator SpawnObj()
     {
         Instantiate(Obj, new Vector3(transform.position.x,transform.position.y, Quaternion.identity);
         yield return new WaitForSeconds(Random.Range(5.0f, 10.0f));
         StartCoroutine("SpawnObj");
     
     }
 }

You can use UnityEngine.Random to generate random values.
Use

Random.value

to get a random float between 0 and 1, or use

Random.Range(int a, int b)

to get a random integer between a (inclusive) and b (inclusive).