private void Start()
 {
     if (listOfPools.Count > 0)
     {
         foreach (var pool in listOfPools)
         {
             ObjectDuplicator.PopulateDictionaryWithPoolStructure(ref particleReferences, pool);
         }
     }
 }
 private void Start()
 {
     // check if there is at least one entry in the listOfPools
     if (listOfPools.Count > 0)
     {
         // iterate through the list
         foreach (var pool in listOfPools)
         {
             // call duplication function from the ObjectDuplicator and provide reference to dictionary data structure
             ObjectDuplicator.PopulateDictionaryWithPoolStructure(ref projectileReferences, pool);
         }
     }
 }