Exemplo n.º 1
0
            internal static _StrikeObject StrikeObject()
            {
                if (_StrikeObjectFunc == null)
                {
                    _StrikeObjectFunc =
                        (_StrikeObject)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnLightning_strikeObject"), typeof(_StrikeObject));
                }

                return(_StrikeObjectFunc);
            }
Exemplo n.º 2
0
            internal static _StrikeObject StrikeObject()
            {
                if (_StrikeObjectFunc == null)
                {
                    _StrikeObjectFunc =
                        (_StrikeObject)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnLightning_strikeObject"), typeof(_StrikeObject));
                }

                return(_StrikeObjectFunc);
            }