Skip to main content

LandmarkIcon

A class in Root.Township, Alta.Map.

A hashed asset for a map landmark icon.

Constructors​

MemberWhat it is
LandmarkIcon()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

2 private and internal fields
MemberWhat it is
private float scaleBacking field for Scale, the icon's size on the map (1 by default).
private Sprite spriteBacking field for Sprite, the image shown for the landmark.

Properties​

MemberWhat it is
float Scale { get; }Size of the icon on the map. 1 by default.
Sprite Sprite { get; }The icon image.

Used in​

Members of other types that take, return or hold a LandmarkIcon: