Search Results for

    Show / Hide Table of Contents

    Class CenteredMinimap

    Centered minimap that follows a labeled object in the minimap.

    Inheritance
    Object
    AbstractMinimap
    CenteredMinimap
    Implements
    IMinimap
    Inherited Members
    AbstractMinimap.defaultShape
    AbstractMinimap.backgroundImage
    AbstractMinimap.maskShape
    AbstractMinimap.backgroundRt
    AbstractMinimap.icons
    AbstractMinimap.MinimapBounds
    AbstractMinimap.GetWorldBounds()
    AbstractMinimap.PixelsPerUnit
    AbstractMinimap.AddIcon(IMinimapIcon)
    AbstractMinimap.RemoveIcon(IMinimapIcon)
    AbstractMinimap.UpdateMinimapIconPosition(IMinimapIcon)
    AbstractMinimap.GetMinimapPosition(Vector3)
    AbstractMinimap.GetSize()
    AbstractMinimap.GetRotation()
    AbstractMinimap.MapNormal()
    AbstractMinimap.MapAxisHoriz()
    AbstractMinimap.MapAxisVert()
    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
    AbstractMinimap.MapOffset

    MapScale

    Declaration
    public override float MapScale { get; }
    Property Value
    Type Description
    Single
    Overrides
    AbstractMinimap.MapScale

    Source

    Source of shape for the minimap.

    Declaration
    protected override MinimapBoundsSource Source { get; }
    Property Value
    Type Description
    MinimapBoundsSource
    Overrides
    AbstractMinimap.Source

    Methods

    Awake()

    Setup initial configuration of minimap.

    Declaration
    public override void Awake()
    Overrides
    AbstractMinimap.Awake()

    LateUpdate()

    Move each object following minimap rules.

    Declaration
    public override void LateUpdate()
    Overrides
    AbstractMinimap.LateUpdate()

    Start()

    Declaration
    public override void Start()
    Overrides
    AbstractMinimap.Start()

    Implements

    IMinimap
    In This Article
    Back to top MinimapTools Documentation