Esempio n. 1
0
            internal static _SetGunSlotFiring SetGunSlotFiring()
            {
                if (_SetGunSlotFiringFunc == null)
                {
                    _SetGunSlotFiringFunc =
                        (_SetGunSlotFiring)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnAITurretShape_setGunSlotFiring"), typeof(_SetGunSlotFiring));
                }

                return(_SetGunSlotFiringFunc);
            }
Esempio n. 2
0
            internal static _SetGunSlotFiring SetGunSlotFiring()
            {
                if (_SetGunSlotFiringFunc == null)
                {
                    _SetGunSlotFiringFunc =
                        (_SetGunSlotFiring)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnAITurretShape_setGunSlotFiring"), typeof(_SetGunSlotFiring));
                }

                return(_SetGunSlotFiringFunc);
            }