Exemplo n.º 1
0
            internal static _UseFreeTargeting UseFreeTargeting()
            {
                if (_UseFreeTargetingFunc == null)
                {
                    _UseFreeTargetingFunc =
                        (_UseFreeTargeting)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnafxSpellButton_useFreeTargeting"), typeof(_UseFreeTargeting));
                }

                return(_UseFreeTargetingFunc);
            }
Exemplo n.º 2
0
            internal static _UseFreeTargeting UseFreeTargeting()
            {
                if (_UseFreeTargetingFunc == null)
                {
                    _UseFreeTargetingFunc =
                        (_UseFreeTargeting)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnafxSpellButton_useFreeTargeting"), typeof(_UseFreeTargeting));
                }

                return(_UseFreeTargetingFunc);
            }