예제 #1
0
            internal static _SetTimeFactor SetTimeFactor()
            {
                if (_SetTimeFactorFunc == null)
                {
                    _SetTimeFactorFunc =
                        (_SetTimeFactor)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnafxEffectron_setTimeFactor"), typeof(_SetTimeFactor));
                }

                return(_SetTimeFactorFunc);
            }
예제 #2
0
            internal static _SetTimeFactor SetTimeFactor()
            {
                if (_SetTimeFactorFunc == null)
                {
                    _SetTimeFactorFunc =
                        (_SetTimeFactor)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnafxMagicSpell_setTimeFactor"), typeof(_SetTimeFactor));
                }

                return(_SetTimeFactorFunc);
            }