EnableSound() public method

public EnableSound ( ) : void
return void
Example #1
0
 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));
     }
 }
 static int EnableSound(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         FairyGUI.Stage obj = (FairyGUI.Stage)ToLua.CheckObject <FairyGUI.Stage>(L, 1);
         obj.EnableSound();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }