summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XUtliPoolLib/IXFmod.cs
blob: 3a3246fd935276984e67b5428cbacd66ca576887 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System;
using UnityEngine;

namespace XUtliPoolLib
{
	public interface IXFmod : IXInterface
	{
		void StartEvent(string key, AudioChannel channel = AudioChannel.Action, bool stopPre = true, string para = "", float value = 0f);

		void Play(AudioChannel channel = AudioChannel.Action);

		void Stop(AudioChannel channel = AudioChannel.Action);

		bool IsPlaying(AudioChannel channel);

		void Destroy();

		void Update3DAttributes(Vector3 vec, AudioChannel channel = AudioChannel.Action);

		void PlayOneShot(string key, Vector3 pos);

		void Init(GameObject go, Rigidbody rigidbody);
	}
}