Ejemplo n.º 1
0
            internal static _SetAllowManualFire SetAllowManualFire()
            {
                if (_SetAllowManualFireFunc == null)
                {
                    _SetAllowManualFireFunc =
                        (_SetAllowManualFire)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnTurretShape_setAllowManualFire"), typeof(_SetAllowManualFire));
                }

                return(_SetAllowManualFireFunc);
            }
Ejemplo n.º 2
0
            internal static _SetAllowManualFire SetAllowManualFire()
            {
                if (_SetAllowManualFireFunc == null)
                {
                    _SetAllowManualFireFunc =
                        (_SetAllowManualFire)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnTurretShape_setAllowManualFire"), typeof(_SetAllowManualFire));
                }

                return(_SetAllowManualFireFunc);
            }