internal static _HasTarget HasTarget()
            {
                if (_HasTargetFunc == null)
                {
                    _HasTargetFunc =
                        (_HasTarget)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnAITurretShape_hasTarget"), typeof(_HasTarget));
                }

                return(_HasTargetFunc);
            }
Exemple #2
0
            internal static _HasTarget HasTarget()
            {
                if (_HasTargetFunc == null)
                {
                    _HasTargetFunc =
                        (_HasTarget)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnAITurretShape_hasTarget"), typeof(_HasTarget));
                }

                return(_HasTargetFunc);
            }