using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class spawnWifiCircle : MonoBehaviour {
    public float Timer;
    float counter;
    public GameObject wifi;
	// Use this for initialization
	void Start () {
		
	}
	
	// Update is called once per frame
	void Update () {
        counter += Time.deltaTime;
        if(counter >= Timer){
           GameObject obj = Instantiate(wifi, transform.parent );
            obj.transform.localPosition = Vector3.zero;
            counter = 0;
        }
    }
}
