17 lines
337 B
C#
17 lines
337 B
C#
|
|
using System;
|
||
|
|
|
||
|
|
namespace QFramework
|
||
|
|
{
|
||
|
|
public interface IAudioKitOnFinish
|
||
|
|
{
|
||
|
|
void OnFinish(Action onFinish);
|
||
|
|
}
|
||
|
|
|
||
|
|
public static class AudioKitOnFinishExtensions
|
||
|
|
{
|
||
|
|
public static void OnFinish(this IAudioKitOnFinish self,Action onFinish)
|
||
|
|
{
|
||
|
|
self?.OnFinish(onFinish);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|