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

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

                return(_StrikeObjectFunc);
            }