Class BoxMinimapElement
Minimap element that will draw a box based on a set of bounds from a given box collider.
Implements
Inherited Members
Namespace: nickmaltbie.MinimapTools.Background
Assembly: cs.temp.dll.dll
Syntax
public class BoxMinimapElement : AbstractMinimapElement, IMinimapElement
Fields
color
Color of the box on the minimap.
Declaration
public Color color
Field Value
Type | Description |
---|---|
Color |
Methods
GetRotation()
Get the rotation of this object in world space.
Declaration
public override float GetRotation()
Returns
Type | Description |
---|---|
Single | Rotation of the object in world space. |
Overrides
GetTexture(IMinimap)
Gets the texture associated with this minimap element for a given minimap.
Declaration
public override Texture2D GetTexture(IMinimap minimap)
Parameters
Type | Name | Description |
---|---|---|
IMinimap | minimap | Minimap to get the target texture for. |
Returns
Type | Description |
---|---|
Texture2D | Texture to draw on the background of the minimap. |
Overrides
WorldCenter()
Get the center of this element in world space.
Declaration
public override Vector3 WorldCenter()
Returns
Type | Description |
---|---|
Vector3 |