Пример #1
0
            internal static _SetStartingVelocityVector SetStartingVelocityVector()
            {
                if (_SetStartingVelocityVectorFunc == null)
                {
                    _SetStartingVelocityVectorFunc =
                        (_SetStartingVelocityVector)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnafxMagicMissile_setStartingVelocityVector"), typeof(_SetStartingVelocityVector));
                }

                return(_SetStartingVelocityVectorFunc);
            }
Пример #2
0
            internal static _SetStartingVelocityVector SetStartingVelocityVector()
            {
                if (_SetStartingVelocityVectorFunc == null)
                {
                    _SetStartingVelocityVectorFunc =
                        (_SetStartingVelocityVector)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnafxMagicMissile_setStartingVelocityVector"), typeof(_SetStartingVelocityVector));
                }

                return(_SetStartingVelocityVectorFunc);
            }