Beispiel #1
0
 internal static _GetBinding GetBinding() {
     if (_GetBindingFunc == null) {
         _GetBindingFunc =
             (_GetBinding)Marshal.GetDelegateForFunctionPointer(
                 Torque3D.DllLoadUtils.GetProcAddress(
                     Torque3D.Torque3DLibHandle,
                     "fnActionMap_getBinding"), typeof(_GetBinding));
     }
     
     return _GetBindingFunc;
 }
Beispiel #2
0
            internal static _GetBinding GetBinding()
            {
                if (_GetBindingFunc == null)
                {
                    _GetBindingFunc =
                        (_GetBinding)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnActionMap_getBinding"), typeof(_GetBinding));
                }

                return(_GetBindingFunc);
            }