Exemplo n.º 1
0
 static public int get_m_name(IntPtr l)
 {
     try {
         YwLuaBehaviourExample self = (YwLuaBehaviourExample)checkSelf(l);
         pushValue(l, true);
         pushValue(l, self.m_name);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemplo n.º 2
0
 static public int GetInstance(IntPtr l)
 {
     try {
         YwLuaBehaviourExample self = (YwLuaBehaviourExample)checkSelf(l);
         var ret = self.GetInstance();
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Exemplo n.º 3
0
 static public int set_m_name(IntPtr l)
 {
     try {
         YwLuaBehaviourExample self = (YwLuaBehaviourExample)checkSelf(l);
         System.String         v;
         checkType(l, 2, out v);
         self.m_name = v;
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }