Property | Type | Description | |
---|---|---|---|
boxCollider | BoxCollider | ||
collection | tk2dSpriteCollectionData, | ||
meshCollider | |||
meshColliderMesh | Mesh | ||
meshColliderPositions | Vector3[] | ||
pixelPerfect | bool |
Method | Description | |
---|---|---|
Build ( ) : void | ||
EditMode__CreateCollider ( ) : void | ||
GetSpriteIdByName ( string name ) : int | ||
MakePixelPerfect ( ) : void | ||
Start ( ) : void | ||
SwitchCollectionAndSprite ( tk2dSpriteCollectionData, newCollection, int newSpriteId ) : void |
Method | Description | |
---|---|---|
CreateCollider ( ) : void | ||
GetBounds ( ) : Bounds | ||
GetCurrentVertexCount ( ) : int | ||
GetNumIndices ( ) : int | ||
GetNumVertices ( ) : int | ||
NeedBoxCollider ( ) : bool | ||
SetColors ( Color dest ) : void | ||
SetPositions ( Vector3 dest ) : void | ||
UpdateCollider ( ) : void | ||
UpdateColors ( ) : void | ||
UpdateGeometry ( ) : void | ||
UpdateMaterial ( ) : void | ||
UpdateVertices ( ) : void |
protected abstract GetCurrentVertexCount ( ) : int | ||
return | int |
public GetSpriteIdByName ( string name ) : int | ||
name | string | |
return | int |
protected SetPositions ( Vector3 dest ) : void | ||
dest | Vector3 | |
return | void |
public SwitchCollectionAndSprite ( tk2dSpriteCollectionData, newCollection, int newSpriteId ) : void | ||
newCollection | tk2dSpriteCollectionData, | |
newSpriteId | int | |
return | void |
public tk2dSpriteCollectionData, collection | ||
return | tk2dSpriteCollectionData, |
public MeshCollider,UnityEngine meshCollider | ||
return |