C# Class Minimap, tf_client

Inheritance: MonoBehaviour
Exibir arquivo Open project: wids-eria/tf_client Class Usage Examples

Public Properties

Property Type Description
frustumOverlayColor Color
maxTextureWidth int
texture Texture2D

Public Methods

Method Description
Download ( ) : IEnumerator

Download this instance.

Draw ( ) : void

Draw the specified parent.

IsMouseOver ( ) : bool

Determines whether this instance is mouse over.

Minimap ( ) : UnityEngine

Initializes a new instance of the Minimap class.

Private Methods

Method Description
CamCoordToGLVert ( Vector3 v ) : Vector3

Convert a coordinate to a GL vertex for drawing frustum.

Method Details

Download() public method

Download this instance.
public Download ( ) : IEnumerator
return IEnumerator

Draw() public method

Draw the specified parent.
public Draw ( ) : void
return void

IsMouseOver() public method

Determines whether this instance is mouse over.
public IsMouseOver ( ) : bool
return bool

Minimap() public method

Initializes a new instance of the Minimap class.
public Minimap ( ) : UnityEngine
return UnityEngine

Property Details

frustumOverlayColor public_oe property

The color of the minimap frustum.
public Color frustumOverlayColor
return Color

maxTextureWidth public_oe property

The maximum width of the texture.
public int maxTextureWidth
return int

texture public_oe property

The texture.
public Texture2D texture
return Texture2D