Exemplo n.º 1
0
    public void CollectDiamond()
    {
        animator.Play("collectDiamond", -1, 0);

        GameManager.self.soundManager.diamondSound();

        GameManager.self.scoreManager.AddDiamond();


#if UNITY_IOS
        if (GameManager.TapticEnabled)
        {
            TapticEngine.TriggerMedium();
        }
#endif
    }
Exemplo n.º 2
0
 public void Medium()
 {
     Debug.Log("Triggered Medium Haptic");
     TapticEngine.TriggerMedium();
 }