示例#1
0
            internal static _SetStartingVelocity SetStartingVelocity()
            {
                if (_SetStartingVelocityFunc == null)
                {
                    _SetStartingVelocityFunc =
                        (_SetStartingVelocity)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnafxMagicMissile_setStartingVelocity"), typeof(_SetStartingVelocity));
                }

                return(_SetStartingVelocityFunc);
            }
示例#2
0
            internal static _SetStartingVelocity SetStartingVelocity()
            {
                if (_SetStartingVelocityFunc == null)
                {
                    _SetStartingVelocityFunc =
                        (_SetStartingVelocity)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnafxMagicMissile_setStartingVelocity"), typeof(_SetStartingVelocity));
                }

                return(_SetStartingVelocityFunc);
            }