13 lines
287 B
C#
13 lines
287 B
C#
|
|
using System.Collections;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
[RequireComponent(typeof(BoxCollider))]
|
||
|
|
[RequireComponent(typeof(UIEventTrigger))]
|
||
|
|
public class PlayClickSound : MonoBehaviour
|
||
|
|
{
|
||
|
|
void OnClick()
|
||
|
|
{
|
||
|
|
SoundInfo.Ins.Play_OneShot(eSound.s003_Click, 0.2f);
|
||
|
|
}
|
||
|
|
}
|