Files
tianrunCRM/Assets/CoolapeFrame/Scripts/ui/NguiExtend/CLUIPlaySound.cs

29 lines
707 B
C#
Raw Normal View History

2020-07-04 14:41:25 +08:00
/*
********************************************************************************
*Copyright(C),coolae.net
*Author: chenbin
*Version: 2.0
*Date: 2017-01-09
*Description: NGUI播放音效,便ab时
*Others:
*History:
*********************************************************************************
*/
using UnityEngine;
using System.Collections;
namespace Coolape
{
public class CLUIPlaySound : UIPlaySound
{
[HideInInspector]
public string soundFileName = "Tap.ogg";
public string soundName = "Tap";
public override void Play ()
{
SoundEx.playSound (soundName, volume, 1);
}
}
}