A class in Root.Township, Alta.Map.
The map marker for a player. Which icon other players see depends on the server's PlayerLandmarkMode and friendship.
Constructors
| Member | What it is |
|---|
PlayerLandmark() | Unity makes components itself; use AddComponent or spawn a prefab instead of new. |
Fields
2 private and internal fields
| Member | What it is |
|---|
private LandmarkIcon friendIcon | Icon shown to players who are friends with this player. |
private PlayerController playerController | The player this marker follows. |
Methods
| Member | What it is |
|---|
override void CustomizeIcon(MarkerInfo info, Player target) | Hides the icon if the mode is Hidden, shows friendIcon to friends, hides it from non-friends in FriendsOnly mode, else the normal icon. |