public void UpdateGraphicalTile(int tileIndex, Vec2Int xz, int neighborIndex) { TileObject tilePiece = CacheManager.Singleton.RequestGroundTile(); //tilePiece.transform.parent = this.transform; //tilePiece.transform.position = new Vector3(xz.x + tilePiece.defaultOffset.x, tilePiece.defaultOffset.y, xz.y + tilePiece.defaultOffset.z); //tilePiece.gameObject.SetActive(true); tilePiece.AssignToPosition(xz, 0f, true); SetTileGO(tileIndex, tilePiece); }