/// <summary>
 /// Initialise the object class
 /// </summary>
 /// <param name="index"></param>
 /// <param name="map"></param>
 public ObjectLoaderInfo(int _index, TileMap _map, bool isWorldObject)
 {
     index = _index;
     map   = _map;
     guid  = System.Guid.NewGuid();
     if (isWorldObject)
     {
         parentList = GameWorldController.CurrentObjectList();
     }
     else
     {
         parentList = GameWorldController.instance.inventoryLoader;
     }
 }