Свойство | Type | Description | |
---|---|---|---|
buttonDownSound | |||
buttonDownSprite | string | ||
buttonPressedSound | |||
buttonPressedSprite | string | ||
buttonUpSound | |||
buttonUpSprite | string | ||
messageName | string | ||
pressedWaitTime | float | ||
scaleTime | float | ||
targetObject | GameObject | ||
targetScale | float | ||
viewCamera | Camera |
Méthode | Description | |
---|---|---|
OnEnable ( ) : void | ||
PlaySound ( |
||
Start ( ) : void | ||
Update ( ) : void | ||
UpdateSpriteIds ( ) : void |
Call this when the sprite names have changed
|
Méthode | Description | |
---|---|---|
LocalWaitForSeconds ( float seconds ) : IEnumerator | ||
coHandleButtonPress ( int fingerId ) : IEnumerator | ||
coScale ( Vector3 defaultScale, float startScale, float endScale ) : IEnumerator |
public PlaySound ( |
||
source | ||
Résultat | void |
public AudioClip,UnityEngine buttonDownSound | ||
Résultat |
public AudioClip,UnityEngine buttonPressedSound | ||
Résultat |
public AudioClip,UnityEngine buttonUpSound | ||
Résultat |