interface_IObjectBuilder
title: interface IObjectBuilder toc_max_heading_level: 4
interface IObjectBuilder
(Niantic.Lightship.Maps.Builders.IObjectBuilder)
概要
IMapTileObject にアタッチされたUnityオブジェクトをインスタンス化するマップタイルフィーチャービルダーの基本型。
interface IObjectBuilder: Niantic.Lightship.Maps.Builders.IFeatureBuilder {
// メソッド
GameObject CreateParent(IMapTileObject mapTileObject);
void Release(GameObject parent);
};
// 直接の派生クラス
class ObjectBuilderBase;
interface IObjectBuilderAsync;
interface IObjectBuilderStandard;
継承メンバー
public:
// プロパティ
Guid Id;
int MinLOD;
int MaxLOD;
詳細なドキュメント
IMapTileObject にアタッチされたUnityオブジェクトをインスタンス化するマップタイルフィーチャービルダーの基本型。
メソッド
CreateParent
GameObject CreateParent(IMapTileObject mapTileObject)
このビルダーによってインスタンス化されたすべてのオブジェクトの親となるGameObjectを作成します。
パラメータ:
mapTileObject
- 親であるGameObjectがアタッチされる IMapTileObject。
戻り値:
親の新しいGameObject