Demasiadas cosas

This commit is contained in:
Gerard Gascón 2023-03-02 01:21:53 +01:00
parent 55b18c6def
commit 3d9aad6211
81 changed files with 7438 additions and 890 deletions

View file

@ -1,5 +1,6 @@
using System.Collections;
using System.Collections.Generic;
using SimpleTools.AudioManager;
using SimpleTools.Cinemachine;
using UnityEngine;
@ -46,6 +47,7 @@ public class Thunder : MonoBehaviour{
private void LightningStrike(){
//ScreenshakeHandler.AddScreenShake(5, 5, 0.5f);
ScreenShake.Shake(15, .5f);
AudioManager.instance.PlayOneShot($"Trueno{Random.Range(1, 4)}");
//thunderSound.pitch = Random.Range(0.5f, 1f);
//thunderSound.Play();