public void ConfirmGridType() { logTool.ChangeGridType(IsometricGridType); if (IsometricGridType) { changeGridType(); plane.GetComponent <Grid>().ChangeToIsometric(); CancelPrompt(); IsometricButtonColor.Pressed(); } else { changeGridType(); plane.GetComponent <Grid>().ChangeToSquare(); CancelPrompt(); SquareButtonColor.Pressed(); } }