Make work with astra
This commit is contained in:
parent
21859bcfb3
commit
c8ee5045e2
1 changed files with 6338 additions and 4613 deletions
|
|
@ -1,18 +0,0 @@
|
|||
using System;
|
||||
using UnityEngine;
|
||||
using Random = UnityEngine.Random;
|
||||
|
||||
namespace UnityStandardAssets.Effects
|
||||
{
|
||||
public class SmokeParticles : MonoBehaviour
|
||||
{
|
||||
public AudioClip[] extinguishSounds;
|
||||
|
||||
|
||||
private void Start()
|
||||
{
|
||||
GetComponent<AudioSource>().clip = extinguishSounds[Random.Range(0, extinguishSounds.Length)];
|
||||
GetComponent<AudioSource>().Play();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue