static int GetHashCode(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); UnityEngine.Vector4 obj = (UnityEngine.Vector4)ToLua.CheckObject(L, 1, typeof(UnityEngine.Vector4)); int o = obj.GetHashCode(); LuaDLL.lua_pushinteger(L, o); ToLua.SetBack(L, 1, obj); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
public override unsafe int GetHashCode() { Vector4 vector = *((Vector4 *)this); return(vector.GetHashCode()); }
public override int GetHashCode() { Vector4 vector = this; return(vector.GetHashCode()); }
static bool Vector4_GetHashCode(JSVCall vc, int argc) { int len = argc; if (len == 0) { UnityEngine.Vector4 argThis = (UnityEngine.Vector4)vc.csObj; JSApi.setInt32((int)JSApi.SetType.Rval, (System.Int32)(argThis.GetHashCode())); JSMgr.changeJSObj(vc.jsObjID, argThis); } return(true); }