C# Class Spine.Unity.Examples.SpineboyBeginnerView

Inheritance: UnityEngine.MonoBehaviour
Mostrar archivo Open project: EsotericSoftware/spine-runtimes

Public Properties

Property Type Description
footstepSource UnityEngine.AudioSource
gunsoundPitchOffset float
skeletonAnimation Spine.Unity.SkeletonAnimation

Public Methods

Method Description
GetRandomPitch ( float maxPitchOffset ) : float
HandleEvent ( Spine trackEntry, Spine e ) : void
PlayFootstepSound ( ) : void
PlayNewStableAnimation ( ) : void
PlayShoot ( ) : void
Start ( ) : void
Turn ( bool facingLeft ) : void
Update ( ) : void

Private Methods

Method Description
CheckTracks ( ) : void

Method Details

GetRandomPitch() public method

public GetRandomPitch ( float maxPitchOffset ) : float
maxPitchOffset float
return float

HandleEvent() public method

public HandleEvent ( Spine trackEntry, Spine e ) : void
trackEntry Spine
e Spine
return void

PlayFootstepSound() public method

public PlayFootstepSound ( ) : void
return void

PlayNewStableAnimation() public method

public PlayNewStableAnimation ( ) : void
return void

PlayShoot() public method

public PlayShoot ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Turn() public method

public Turn ( bool facingLeft ) : void
facingLeft bool
return void

Update() public method

public Update ( ) : void
return void

Property Details

footstepSource public_oe property

public AudioSource,UnityEngine footstepSource
return UnityEngine.AudioSource

gunsoundPitchOffset public_oe property

public float gunsoundPitchOffset
return float

skeletonAnimation public_oe property

public SkeletonAnimation,Spine.Unity skeletonAnimation
return Spine.Unity.SkeletonAnimation