| | |
| | | #endif
|
| | | MapArea _area = _go.AddMissingComponent<MapArea>();
|
| | |
|
| | | _area.startPosition = new Vector3(config.StartPosX * .5f, 0, config.StartPosY * .5f);
|
| | | _area.endPosition = new Vector3(config.EndPosX * .5f, 0, config.EndPosY * .5f);
|
| | | _area.startPosition = new Vector3((config.StartPosX - GA_Hero.MapOffset.x) * .5f,
|
| | | 0,
|
| | | (config.StartPosY - GA_Hero.MapOffset.z) * .5f);
|
| | | _area.endPosition = new Vector3((config.EndPosX - GA_Hero.MapOffset.x) * .5f,
|
| | | 0,
|
| | | (config.EndPosY - GA_Hero.MapOffset.z) * .5f);
|
| | |
|
| | | int _width;
|
| | | int _height;
|