Class PLATEAUCityGmlProxy
GMLファイルから都市情報を読み込みます。
Inheritance
System.Object
PLATEAUCityGmlProxy
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: PLATEAU.CityInfo
Assembly: cs.temp.dll.dll
Syntax
public class PLATEAUCityGmlProxy
Methods
LoadAsync(GameObject, String, String)
GMLファイルをパースし、
Declaration
public static async Task<CityModel> LoadAsync(GameObject go, string rootDirName = null, string parentPathOfRootDir = null)
Parameters
Type | Name | Description |
---|---|---|
GameObject | go | GMLファイルの名称が、与えられたゲームオブジェクトの名称であるものをパースします。 |
System.String | rootDirName | 都市データが入っているディレクトリのルートの名称を指定します。
省略または空文字の場合、 |
System.String | parentPathOfRootDir |
|
Returns
Type | Description |
---|---|
Task<CityModel> | パースした結果を返します。パース失敗時は null を返します。 |