Skip to content

Commit

Permalink
Removed unused variables and unused conditional statements.
Browse files Browse the repository at this point in the history
  • Loading branch information
greglemonmapbox committed Aug 17, 2018
1 parent 4b67b3c commit 86ce562
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ public class HeroBuildingSelectionUserInput : MonoBehaviour
[SerializeField]
private Vector3 _cameraRotation;

Vector2d _coordinate;

private Camera _camera;

Button _button;
Expand Down Expand Up @@ -76,16 +74,6 @@ void HandleUserInput()
void HandleGeocoderResponse(ForwardGeocodeResponse res)
{
_hasResponse = true;
if (null == res)
{
//_button.text = "no geocode response";
}
else if (null != res.Features && res.Features.Count > 0)
{
var center = res.Features[0].Center;
//_inputField.text = string.Format("{0},{1}", center.x, center.y);
_coordinate = res.Features[0].Center;
}
Response = res;
TransformCamera();
OnGeocoderResponse(res, false);
Expand Down

0 comments on commit 86ce562

Please sign in to comment.