public void EnableSound() { if (_audio == null) { _audio = gameObject.AddComponent<AudioSource>(); _audio.bypassEffects = true; } }
static public int EnableSound(IntPtr l) { try { FairyGUI.Stage self = (FairyGUI.Stage)checkSelf(l); self.EnableSound(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }