Esempio n. 1
0
		public TiledMapRegion(TiledMap map, Region region)
		{
			this.region = region;
			x = region.xMin - 1;
			z = region.zMax;
		}
Esempio n. 2
0
		/// <summary>
		/// 初始化管理器, 地图起点为origin, 宽度为width, 高度为height.
		/// </summary>
		public GeomManager(Vector3 origin, float width, float height)
		{
			tiledMap = new TiledMap(origin, 1f, Mathf.CeilToInt(height), Mathf.CeilToInt(width));
		}