internal static void setMode(IntPtr thisPtr, [MarshalAs(UnmanagedType.LPWStr)] string newMode) { if (_setModeFunc == null) { _setModeFunc = (_setMode)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_GuiDecalEditorCtrl_setMode"), typeof(_setMode)); } _setModeFunc(thisPtr, newMode); }
internal static void setMode(IntPtr thisPtr, int argc, string[] argv) { if (_setModeFunc == null) { _setModeFunc = (_setMode)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_GuiNavEditorCtrl_setMode"), typeof(_setMode)); } _setModeFunc(thisPtr, argc, argv); }