C# Class HTSpriteSheet, CatapultKing

HTSpriteSheet allows the creation of a particle and play an animated sprite from spritesheet.
Inheritance: MonoBehaviour
ファイルを表示 Open project: VirsixInc/CatapultKing Class Usage Examples

Public Properties

Property 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

Public Methods

Method 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 method

Awake this instance.
public Awake ( ) : void
return void

Camera_BillboardingMode() public method

Camera_s the billboarding mode.
public Camera_BillboardingMode ( ) : void
return void

CreateParticle() public method

Creates the particle.
public CreateParticle ( ) : void
return void

InitSpriteSheet() public method

Inits the sprite sheet.
public InitSpriteSheet ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

Update this instance.
public Update ( ) : void
return void

Property Details

addColorEffect public_oe property

The add color effect.
public bool addColorEffect
return bool

addLightEffect public_oe property

The add light effect.
public bool addLightEffect
return bool

billboarding public_oe property

The billboarding mode
public CameraFacingMode billboarding
return CameraFacingMode

colorEnd public_oe property

The color end.
public Color colorEnd
return Color

colorStart public_oe property

The color start.
public Color colorStart
return Color

copy public_oe property

public bool copy
return bool

foldOut public_oe property

The fold out.
public bool foldOut
return bool

framesPerSecond public_oe property

The number of images per second to play animation
public int framesPerSecond
return int

isOneShot public_oe property

The is one shot animation.
public bool isOneShot
return bool

life public_oe property

The life.
public float life
return float

lightColor public_oe property

The color of the light.
public Color lightColor
return Color

lightFadeSpeed public_oe property

The light fade speed.
public float lightFadeSpeed
return float

lightRange public_oe property

The light range.
public float lightRange
return float

offset public_oe property

public Vector3 offset
return Vector3

randomRotation public_oe property

Applied a rondom rotation on z-Axis.
public bool randomRotation
return bool

rotationEnd public_oe property

The rotation end.
public float rotationEnd
return float

rotationStart public_oe property

The rotation start.
public float rotationStart
return float

sizeEnd public_oe property

The size end.
public Vector3 sizeEnd
return Vector3

sizeStart public_oe property

The initial size of the explosion
public Vector3 sizeStart
return Vector3

spriteCount public_oe property

The number of sprtie on the spritesheet.
public int spriteCount
return int

spriteSheetMaterial public_oe property

The sprite sheet material.
public Material spriteSheetMaterial
return Material

uvAnimationTileX public_oe property

The uv animation tile x.
public int uvAnimationTileX
return int

uvAnimationTileY public_oe property

The uv animation tile y.
public int uvAnimationTileY
return int

waittingTime public_oe property

public float waittingTime
return float