Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DeleteSecondary

Shows a request to the user to unpin the secondary tile with the specified ID from the Start screen.
Read time 1 minuteLast updated a day ago

Definition

DeleteSecondary(string)

Shows a request to the user to unpin the secondary tile with the specified ID from the Start screen.
public static void DeleteSecondary(string tileId)

Parameters

tileId

The ID of the secondary tile to unpin.

Remarks

Windows removes the tile only if the user accepts the request. If you have a Tile object for the tile, you can use Tile.Delete instead.

DeleteSecondary(string, Vector2)

Shows a request to the user, at a screen position, to unpin the secondary tile with the specified ID.
public static void DeleteSecondary(string tileId, Vector2 pos)

Parameters

tileId

The ID of the secondary tile to unpin.

The screen coordinates to show the request at.

Remarks

Windows shows the request at
pos
and removes the tile only if the user accepts the request. If you have a Tile object for the tile, you can use Tile.Delete instead.

DeleteSecondary(string, Rect)

Shows a request to the user, above a screen area, to unpin the secondary tile with the specified ID.
public static void DeleteSecondary(string tileId, Rect area)

Parameters

tileId

The ID of the secondary tile to unpin.

area

The screen area to show the request above.

Remarks

Windows shows the request above
area
and removes the tile only if the user accepts the request. If you have a Tile object for the tile, you can use Tile.Delete instead.