Exemplo n.º 1
0
 void Awake()
 {
     Instance              = this;
     audioSource           = GetComponent <AudioSource>();
     NGUITools.soundVolume = 1;
 }
Exemplo n.º 2
0
 void OnDestroy()
 {
     Instance = null;
 }