Example #1
0
            internal static _Plan Plan()
            {
                if (_PlanFunc == null)
                {
                    _PlanFunc =
                        (_Plan)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnNavPath_plan"), typeof(_Plan));
                }

                return(_PlanFunc);
            }
Example #2
0
            internal static _Plan Plan()
            {
                if (_PlanFunc == null)
                {
                    _PlanFunc =
                        (_Plan)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnNavPath_plan"), typeof(_Plan));
                }

                return(_PlanFunc);
            }