Pop時バイブ追加
This commit is contained in:
parent
97d1809765
commit
aa387b4a26
|
|
@ -119,6 +119,7 @@ public class Corn : MonoBehaviour
|
|||
spriteRenderer.sprite = cornSimpleSprite;
|
||||
rigidbody.AddForce(cornPopSpeed * new Vector2(Random.value * 2 - 1, Random.value * 2 - 1), ForceMode2D.Impulse);
|
||||
animator.SetTrigger(HashCornGrow);
|
||||
VibrationManager.Instance.PlayVibrationOnce();
|
||||
}
|
||||
|
||||
private void CornBurnt()
|
||||
|
|
|
|||
Loading…
Reference in New Issue