C# Class HTSpriteSheet, CatapultKing

HTSpriteSheet allows the creation of a particle and play an animated sprite from spritesheet.
Inheritance: MonoBehaviour
Afficher le fichier Open project: VirsixInc/CatapultKing Class Usage Examples

Méthodes publiques

Свойство Type Description
addColorEffect bool
addLightEffect bool
billboarding CameraFacingMode
colorEnd Color
colorStart Color
copy bool
foldOut bool
framesPerSecond int
isOneShot bool
life float
lightColor Color
lightFadeSpeed float
lightRange float
offset Vector3
randomRotation bool
rotationEnd float
rotationStart float
sizeEnd Vector3
sizeStart Vector3
spriteCount int
spriteSheetMaterial Material
uvAnimationTileX int
uvAnimationTileY int
waittingTime float

Méthodes publiques

Méthode Description
Awake ( ) : void

Awake this instance.

Camera_BillboardingMode ( ) : void

Camera_s the billboarding mode.

CreateParticle ( ) : void

Creates the particle.

InitSpriteSheet ( ) : void

Inits the sprite sheet.

Start ( ) : void
Update ( ) : void

Update this instance.

Method Details

Awake() public méthode

Awake this instance.
public Awake ( ) : void
Résultat void

Camera_BillboardingMode() public méthode

Camera_s the billboarding mode.
public Camera_BillboardingMode ( ) : void
Résultat void

CreateParticle() public méthode

Creates the particle.
public CreateParticle ( ) : void
Résultat void

InitSpriteSheet() public méthode

Inits the sprite sheet.
public InitSpriteSheet ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

Update this instance.
public Update ( ) : void
Résultat void

Property Details

addColorEffect public_oe property

The add color effect.
public bool addColorEffect
Résultat bool

addLightEffect public_oe property

The add light effect.
public bool addLightEffect
Résultat bool

billboarding public_oe property

The billboarding mode
public CameraFacingMode billboarding
Résultat CameraFacingMode

colorEnd public_oe property

The color end.
public Color colorEnd
Résultat Color

colorStart public_oe property

The color start.
public Color colorStart
Résultat Color

copy public_oe property

public bool copy
Résultat bool

foldOut public_oe property

The fold out.
public bool foldOut
Résultat bool

framesPerSecond public_oe property

The number of images per second to play animation
public int framesPerSecond
Résultat int

isOneShot public_oe property

The is one shot animation.
public bool isOneShot
Résultat bool

life public_oe property

The life.
public float life
Résultat float

lightColor public_oe property

The color of the light.
public Color lightColor
Résultat Color

lightFadeSpeed public_oe property

The light fade speed.
public float lightFadeSpeed
Résultat float

lightRange public_oe property

The light range.
public float lightRange
Résultat float

offset public_oe property

public Vector3 offset
Résultat Vector3

randomRotation public_oe property

Applied a rondom rotation on z-Axis.
public bool randomRotation
Résultat bool

rotationEnd public_oe property

The rotation end.
public float rotationEnd
Résultat float

rotationStart public_oe property

The rotation start.
public float rotationStart
Résultat float

sizeEnd public_oe property

The size end.
public Vector3 sizeEnd
Résultat Vector3

sizeStart public_oe property

The initial size of the explosion
public Vector3 sizeStart
Résultat Vector3

spriteCount public_oe property

The number of sprtie on the spritesheet.
public int spriteCount
Résultat int

spriteSheetMaterial public_oe property

The sprite sheet material.
public Material spriteSheetMaterial
Résultat Material

uvAnimationTileX public_oe property

The uv animation tile x.
public int uvAnimationTileX
Résultat int

uvAnimationTileY public_oe property

The uv animation tile y.
public int uvAnimationTileY
Résultat int

waittingTime public_oe property

public float waittingTime
Résultat float