C# Class TileBase, Unity3D

Inheritance: MonoBehaviour
Mostra file Open project: k-lock/Unity3D Class Usage Examples

Public Properties

Property Type Description
_height float
_pivot TextAnchor
_width float
facing FACING
uvRect Rect

Protected Properties

Property Type Description
colors Color[]
trias int[]
uvs Vector2[]
verts Vector3[]

Public Methods

Method Description
FaceDirection ( ) : void
MESH_refresh ( ) : void
MESH_setup ( Rect UVrect ) : void
MESH_uvtexture ( Rect rect ) : void
Pivot2D ( ) : Vector2

Protected Methods

Method Description
Awake ( ) : void
Components ( ) : void
MeshUpdate ( ) : void
OnEnable ( ) : void
UV_rect ( ) : Rect
Update ( ) : void

Private Methods

Method Description
PixelCoordToUVCoord ( Vector2 xy ) : Vector2
PixelSpaceToUVSpace ( Vector2 xy ) : Vector2
UV_setup ( ) : Vector2[]
VertSetup2 ( ) : Vector3[]

Method Details

Awake() protected method

protected Awake ( ) : void
return void

Components() protected method

protected Components ( ) : void
return void

FaceDirection() public method

public FaceDirection ( ) : void
return void

MESH_refresh() public method

public MESH_refresh ( ) : void
return void

MESH_setup() public method

public MESH_setup ( Rect UVrect ) : void
UVrect Rect
return void

MESH_uvtexture() public method

public MESH_uvtexture ( Rect rect ) : void
rect Rect
return void

MeshUpdate() protected method

protected MeshUpdate ( ) : void
return void

OnEnable() protected method

protected OnEnable ( ) : void
return void

Pivot2D() public method

public Pivot2D ( ) : Vector2
return Vector2

UV_rect() protected method

protected UV_rect ( ) : Rect
return Rect

Update() protected method

protected Update ( ) : void
return void

Property Details

_height public_oe property

public float _height
return float

_pivot public_oe property

public TextAnchor _pivot
return TextAnchor

_width public_oe property

public float _width
return float

colors protected_oe property

protected Color[] colors
return Color[]

facing public_oe property

public FACING facing
return FACING

trias protected_oe property

protected int[] trias
return int[]

uvRect public_oe property

public Rect uvRect
return Rect

uvs protected_oe property

protected Vector2[] uvs
return Vector2[]

verts protected_oe property

protected Vector3[] verts
return Vector3[]