C# 클래스 HTSpriteSheet, CatapultKing

HTSpriteSheet allows the creation of a particle and play an animated sprite from spritesheet.
상속: MonoBehaviour
파일 보기 프로젝트 열기: VirsixInc/CatapultKing 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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.

메소드 상세

Awake() 공개 메소드

Awake this instance.
public Awake ( ) : void
리턴 void

Camera_BillboardingMode() 공개 메소드

Camera_s the billboarding mode.
public Camera_BillboardingMode ( ) : void
리턴 void

CreateParticle() 공개 메소드

Creates the particle.
public CreateParticle ( ) : void
리턴 void

InitSpriteSheet() 공개 메소드

Inits the sprite sheet.
public InitSpriteSheet ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

Update this instance.
public Update ( ) : void
리턴 void

프로퍼티 상세

addColorEffect 공개적으로 프로퍼티

The add color effect.
public bool addColorEffect
리턴 bool

addLightEffect 공개적으로 프로퍼티

The add light effect.
public bool addLightEffect
리턴 bool

billboarding 공개적으로 프로퍼티

The billboarding mode
public CameraFacingMode billboarding
리턴 CameraFacingMode

colorEnd 공개적으로 프로퍼티

The color end.
public Color colorEnd
리턴 Color

colorStart 공개적으로 프로퍼티

The color start.
public Color colorStart
리턴 Color

copy 공개적으로 프로퍼티

public bool copy
리턴 bool

foldOut 공개적으로 프로퍼티

The fold out.
public bool foldOut
리턴 bool

framesPerSecond 공개적으로 프로퍼티

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

isOneShot 공개적으로 프로퍼티

The is one shot animation.
public bool isOneShot
리턴 bool

life 공개적으로 프로퍼티

The life.
public float life
리턴 float

lightColor 공개적으로 프로퍼티

The color of the light.
public Color lightColor
리턴 Color

lightFadeSpeed 공개적으로 프로퍼티

The light fade speed.
public float lightFadeSpeed
리턴 float

lightRange 공개적으로 프로퍼티

The light range.
public float lightRange
리턴 float

offset 공개적으로 프로퍼티

public Vector3 offset
리턴 Vector3

randomRotation 공개적으로 프로퍼티

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

rotationEnd 공개적으로 프로퍼티

The rotation end.
public float rotationEnd
리턴 float

rotationStart 공개적으로 프로퍼티

The rotation start.
public float rotationStart
리턴 float

sizeEnd 공개적으로 프로퍼티

The size end.
public Vector3 sizeEnd
리턴 Vector3

sizeStart 공개적으로 프로퍼티

The initial size of the explosion
public Vector3 sizeStart
리턴 Vector3

spriteCount 공개적으로 프로퍼티

The number of sprtie on the spritesheet.
public int spriteCount
리턴 int

spriteSheetMaterial 공개적으로 프로퍼티

The sprite sheet material.
public Material spriteSheetMaterial
리턴 Material

uvAnimationTileX 공개적으로 프로퍼티

The uv animation tile x.
public int uvAnimationTileX
리턴 int

uvAnimationTileY 공개적으로 프로퍼티

The uv animation tile y.
public int uvAnimationTileY
리턴 int

waittingTime 공개적으로 프로퍼티

public float waittingTime
리턴 float