Exemplo n.º 1
0
            internal static _GetTargetCount GetTargetCount()
            {
                if (_GetTargetCountFunc == null)
                {
                    _GetTargetCountFunc =
                        (_GetTargetCount)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnTSStatic_getTargetCount"), typeof(_GetTargetCount));
                }

                return(_GetTargetCountFunc);
            }
Exemplo n.º 2
0
            internal static _GetTargetCount GetTargetCount()
            {
                if (_GetTargetCountFunc == null)
                {
                    _GetTargetCountFunc =
                        (_GetTargetCount)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnTSStatic_getTargetCount"), typeof(_GetTargetCount));
                }

                return(_GetTargetCountFunc);
            }