public bool Equals(SShootCurve other) { return(fTime.Equals(other.fTime) && fX_a.Equals(other.fX_a) && fX_b.Equals(other.fX_b) && fX_c.Equals(other.fX_c) && fY_a.Equals(other.fY_a) && fY_b.Equals(other.fY_b) && fY_c.Equals(other.fY_c) && fZ_a.Equals(other.fZ_a) && fZ_b.Equals(other.fZ_b) && fZ_c.Equals(other.fZ_c)); }
static int Equals(IntPtr L) { int count = LuaDLL.lua_gettop(L); if (count == 2 && LuaScriptMgr.CheckTypes(L, 1, typeof(IM.Number), typeof(int))) { IM.Number obj = (IM.Number)LuaScriptMgr.GetVarObject(L, 1); int arg0 = (int)LuaDLL.lua_tonumber(L, 2); bool o = obj.Equals(arg0); LuaScriptMgr.Push(L, o); return(1); } else if (count == 2 && LuaScriptMgr.CheckTypes(L, 1, typeof(IM.Number), typeof(IM.Number))) { IM.Number obj = (IM.Number)LuaScriptMgr.GetVarObject(L, 1); IM.Number arg0 = (IM.Number)LuaScriptMgr.GetLuaObject(L, 2); bool o = obj.Equals(arg0); LuaScriptMgr.Push(L, o); return(1); } else if (count == 2 && LuaScriptMgr.CheckTypes(L, 1, typeof(IM.Number), typeof(object))) { IM.Number obj = (IM.Number)LuaScriptMgr.GetVarObject(L, 1); object arg0 = LuaScriptMgr.GetVarObject(L, 2); bool o = obj.Equals(arg0); LuaScriptMgr.Push(L, o); return(1); } else { LuaDLL.luaL_error(L, "invalid arguments to method: IM.Number.Equals"); } return(0); }
public bool Equals(Vector2 other) { return(x.Equals(other.x) && y.Equals(other.y)); }
public bool Equals(Vector3 other) { return(x.Equals(other.x) && y.Equals(other.y) && z.Equals(other.z)); }