NGUI: Next-Gen UI kit  3.7.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
UIPlaySound Class Reference

Plays the specified sound. More...

Inheritance diagram for UIPlaySound:

Public Types

enum  Trigger {
  Trigger.OnClick, Trigger.OnMouseOver, Trigger.OnMouseOut, Trigger.OnPress,
  Trigger.OnRelease, Trigger.Custom
}
 

Public Member Functions

void Play ()
 

Public Attributes

AudioClip audioClip
 
Trigger trigger = Trigger.OnClick
 
float volume = 1f
 
float pitch = 1f
 

Detailed Description

Plays the specified sound.

Member Enumeration Documentation

Enumerator
OnClick 
OnMouseOver 
OnMouseOut 
OnPress 
OnRelease 
Custom 

Member Function Documentation

void UIPlaySound.Play ( )

Member Data Documentation

AudioClip UIPlaySound.audioClip
float UIPlaySound.pitch = 1f
Trigger UIPlaySound.trigger = Trigger.OnClick
float UIPlaySound.volume = 1f

The documentation for this class was generated from the following file: