void Start()
    {
        //Check if local counter exists if not create it
        if (File.Exists(CounterJsonFilePath))
        {
            try
            {
                ProjCounterObj = JsonUtility.FromJson <ProjectilesJsonClass>(System.IO.File.ReadAllText(CounterJsonFilePath));
            }
            catch (IOException)
            {
                Debug.Log("Failed to Read projectile counter json");
                return;
            }
        }
        else
        {
            CreateProjectilesCounter();
            //Debug.Log("Created Projectile Counter json");
        }

        //Update local ID
        ProjectileObject.ID = ProjCounterObj.Count;
        //NextProjectile(ProjectileObject.ID); //commented out because local jsons no longer needed.
        UpdateProjectileCounter();
    }
    //Create counter json
    public void CreateProjectilesCounter()
    {
        string json = JsonUtility.ToJson(ProjCounterObj);

        ProjCounterObj = JsonUtility.FromJson <ProjectilesJsonClass>(json);
        System.IO.File.WriteAllText(CounterJsonFilePath, json);
    }