Свойство | Type | Description | |
---|---|---|---|
hitSound | AudioSource | ||
knight | SmoothMoves.BoneAnimation | ||
knightShadow | Transform | ||
maxBlinkTime | float | ||
minBlinkTime | float | ||
newMaterial | Material | ||
oldMaterial | Material | ||
sparks | SmoothMoves.BoneAnimation | ||
speed | float | ||
swishSound | AudioSource |
Méthode | 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 /// |
Résultat | void |
public UserTrigger ( SmoothMoves triggerEvent ) : void | ||
triggerEvent | SmoothMoves | /// The event to process /// |
Résultat | void |
public SmoothMoves.BoneAnimation knight | ||
Résultat | SmoothMoves.BoneAnimation |
public SmoothMoves.BoneAnimation sparks | ||
Résultat | SmoothMoves.BoneAnimation |