Example #1
0
            internal static _Presimulate Presimulate()
            {
                if (_PresimulateFunc == null)
                {
                    _PresimulateFunc =
                        (_Presimulate)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnProjectile_presimulate"), typeof(_Presimulate));
                }

                return(_PresimulateFunc);
            }
Example #2
0
            internal static _Presimulate Presimulate()
            {
                if (_PresimulateFunc == null)
                {
                    _PresimulateFunc =
                        (_Presimulate)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnProjectile_presimulate"), typeof(_Presimulate));
                }

                return(_PresimulateFunc);
            }