Esempio n. 1
0
 internal static _BindContext BindContext() {
     if (_BindContextFunc == null) {
         _BindContextFunc =
             (_BindContext)Marshal.GetDelegateForFunctionPointer(
                 Torque3D.DllLoadUtils.GetProcAddress(
                     Torque3D.Torque3DLibHandle,
                     "fnActionMap_bindContext"), typeof(_BindContext));
     }
     
     return _BindContextFunc;
 }
Esempio n. 2
0
            internal static _BindContext BindContext()
            {
                if (_BindContextFunc == null)
                {
                    _BindContextFunc =
                        (_BindContext)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnActionMap_bindContext"), typeof(_BindContext));
                }

                return(_BindContextFunc);
            }