29 lines
659 B
C#
29 lines
659 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
using RPGCreationKit;
|
||
|
using RPGCreationKit.Player;
|
||
|
using UnityEngine.EventSystems;
|
||
|
|
||
|
public class AmbienceSoundFX : MonoBehaviour
|
||
|
{
|
||
|
public AudioClip AmbienceClip;
|
||
|
// Start is called before the first frame update
|
||
|
void Start()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
// Update is called once per frame
|
||
|
void Update()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
// private void OnTriggerEnter(Collider other) {
|
||
|
// if (other == RPGCreationKit.Player.RckPlayer.instance.gameObject. {
|
||
|
// GameAudioManager.instance.PlayOneShot(AudioSources.Ambience, AmbienceClip);
|
||
|
// }
|
||
|
// }
|
||
|
}
|