public void Sub(HasConstructStructReflect invar, ref HasConstructStructReflect refvar, out HasConstructStructReflect outvar) { outvar = invar; outvar.x = invar.x - refvar.x; refvar.x = invar.x; LuaTestCommon.Log("refvar.x:" + refvar.x + ",refvar.y:" + refvar.y + ", refvar.z:" + refvar.z); }
public void Add(HasConstructStructReflect invar, ref HasConstructStructReflect refvar, out HasConstructStructReflect outvar) { outvar = invar; outvar.x = invar.x + refvar.x; refvar.x = invar.x; }
public BClassReflect(int x, int y, string z) : base(x, y, z) { b_struct = new HasConstructStructReflect(x, y, z); }
public CClassReflect(int x, int y, string z) { c_struct = new HasConstructStructReflect(x, y, z); }