30 lines
532 B
C#
30 lines
532 B
C#
using System.Collections;
|
|
using Cysharp.Threading.Tasks;
|
|
using UnityEngine;
|
|
|
|
namespace PhxhSDK
|
|
{
|
|
public interface IAudioPlay
|
|
{
|
|
int PlayAudio(string key, Transform trans = null)
|
|
{
|
|
return -1;
|
|
}
|
|
|
|
int PlayAudio(string key, Vector3 pos)
|
|
{
|
|
return -1;
|
|
}
|
|
|
|
int PlayAudio(int id, Transform trans = null)
|
|
{
|
|
return -1;
|
|
}
|
|
|
|
int PlayAudio(int id, Vector3 pos)
|
|
{
|
|
return -1;
|
|
}
|
|
}
|
|
}
|