interface IObjectBuilderAsync
(Niantic.Lightship.Maps.Builders.Performance.IObjectBuilderAsync)
Overview
Represents a maptile feature builder which builds feature GameObjects asynchronously.
interface IObjectBuilderAsync: Niantic.Lightship.Maps.Builders.IObjectBuilder {
// methods
void Build(IReadOnlyList<ObjectTile> tiles);
};
// direct descendants
class ObjectBuilderAsync;
Inherited Members
public:
// properties
Guid Id;
int MinLOD;
int MaxLOD;
// methods
GameObject CreateParent(IMapTileObject mapTileObject);
void Release(GameObject parent);
Detailed Documentation
Represents a maptile feature builder which builds feature GameObjects asynchronously.
Methods
Build
void Build(IReadOnlyList<ObjectTile> tiles)
Called when a maptile is added to the scene. This method instantiates objects for a specific set of maptile features.
Parameters:
tiles
- An IReadOnlyList<T> of ObjectTiles containing features to build.