Example #1
0
            internal static _DeleteRoad DeleteRoad()
            {
                if (_DeleteRoadFunc == null)
                {
                    _DeleteRoadFunc =
                        (_DeleteRoad)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiRoadEditorCtrl_deleteRoad"), typeof(_DeleteRoad));
                }

                return(_DeleteRoadFunc);
            }
Example #2
0
            internal static _DeleteRoad DeleteRoad()
            {
                if (_DeleteRoadFunc == null)
                {
                    _DeleteRoadFunc =
                        (_DeleteRoad)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiRoadEditorCtrl_deleteRoad"), typeof(_DeleteRoad));
                }

                return(_DeleteRoadFunc);
            }