Ejemplo n.º 1
0
            internal static _StrikeRandomPoint StrikeRandomPoint()
            {
                if (_StrikeRandomPointFunc == null)
                {
                    _StrikeRandomPointFunc =
                        (_StrikeRandomPoint)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnLightning_strikeRandomPoint"), typeof(_StrikeRandomPoint));
                }

                return(_StrikeRandomPointFunc);
            }
Ejemplo n.º 2
0
            internal static _StrikeRandomPoint StrikeRandomPoint()
            {
                if (_StrikeRandomPointFunc == null)
                {
                    _StrikeRandomPointFunc =
                        (_StrikeRandomPoint)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnLightning_strikeRandomPoint"), typeof(_StrikeRandomPoint));
                }

                return(_StrikeRandomPointFunc);
            }