Property | Type | Description | |
---|---|---|---|
hitSound | AudioSource | ||
knight | SmoothMoves.BoneAnimation | ||
knightShadow | Transform | ||
maxBlinkTime | float | ||
minBlinkTime | float | ||
newMaterial | Material | ||
oldMaterial | Material | ||
sparks | SmoothMoves.BoneAnimation | ||
speed | float | ||
swishSound | AudioSource |
Method | Description | |
---|---|---|
ColliderTrigger ( SmoothMoves triggerEvent ) : void |
This function will be called whenever a collider is processed by the knight. We assign this function in the Awake of this example.
|
|
Start ( ) : void | ||
Update ( ) : void | ||
UserTrigger ( SmoothMoves triggerEvent ) : void |
This function will be called whenever a user trigger is encountered in the animation. We assign this function in the Awake of this example.
|
public ColliderTrigger ( SmoothMoves triggerEvent ) : void | ||
triggerEvent | SmoothMoves | /// The event to process /// |
return | void |
public UserTrigger ( SmoothMoves triggerEvent ) : void | ||
triggerEvent | SmoothMoves | /// The event to process /// |
return | void |