Class CenteredMinimap
Centered minimap that follows a labeled object in the minimap.
Implements
Inherited Members
Namespace: nickmaltbie.MinimapTools.Minimap.Centered
Assembly: cs.temp.dll.dll
Syntax
public class CenteredMinimap : AbstractMinimap, IMinimap
Fields
followTargetTag
Name of the tag to search for the follow target.
Declaration
public string followTargetTag
Field Value
Type | Description |
---|---|
String |
mapRadius
Radius of the minimap in world units.
Declaration
public float mapRadius
Field Value
Type | Description |
---|---|
Single |
minimapBoundsTag
Name of the tag to search for minimap bounds.
Declaration
public string minimapBoundsTag
Field Value
Type | Description |
---|---|
String |
rotateMinimap
Should the minimap rotate with the follow target.
Declaration
public bool rotateMinimap
Field Value
Type | Description |
---|---|
Boolean |
Properties
MapOffset
Map offset for the minimap relative to the map size. A value of (0,0) would indicate centered map. A value of (1,1) would indicate shift the minimap by 1 unit of the minimap viewing area.
Declaration
public override Vector2 MapOffset { get; }
Property Value
Type | Description |
---|---|
Vector2 |
Overrides
MapScale
Declaration
public override float MapScale { get; }
Property Value
Type | Description |
---|---|
Single |
Overrides
Source
Source of shape for the minimap.
Declaration
protected override MinimapBoundsSource Source { get; }
Property Value
Type | Description |
---|---|
MinimapBoundsSource |
Overrides
Methods
Awake()
Setup initial configuration of minimap.
Declaration
public override void Awake()
Overrides
LateUpdate()
Move each object following minimap rules.
Declaration
public override void LateUpdate()
Overrides
Start()
Declaration
public override void Start()