Пример #1
0
            internal static _OnInterpolateTick OnInterpolateTick()
            {
                if (_OnInterpolateTickFunc == null)
                {
                    _OnInterpolateTickFunc =
                        (_OnInterpolateTick)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "cbScriptTickObject_onInterpolateTick"), typeof(_OnInterpolateTick));
                }

                return(_OnInterpolateTickFunc);
            }
Пример #2
0
            internal static _OnInterpolateTick OnInterpolateTick()
            {
                if (_OnInterpolateTickFunc == null)
                {
                    _OnInterpolateTickFunc =
                        (_OnInterpolateTick)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "cbScriptTickObject_onInterpolateTick"), typeof(_OnInterpolateTick));
                }

                return(_OnInterpolateTickFunc);
            }