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

                return(_OnInterpolateTickFunc);
            }
            internal static _OnInterpolateTick OnInterpolateTick()
            {
                if (_OnInterpolateTickFunc == null)
                {
                    _OnInterpolateTickFunc =
                        (_OnInterpolateTick)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "cbScriptTickObject_onInterpolateTick"), typeof(_OnInterpolateTick));
                }

                return(_OnInterpolateTickFunc);
            }