Exemple #1
0
 internal static _GetCommand GetCommand() {
     if (_GetCommandFunc == null) {
         _GetCommandFunc =
             (_GetCommand)Marshal.GetDelegateForFunctionPointer(
                 Torque3D.DllLoadUtils.GetProcAddress(
                     Torque3D.Torque3DLibHandle,
                     "fnActionMap_getCommand"), typeof(_GetCommand));
     }
     
     return _GetCommandFunc;
 }
Exemple #2
0
            internal static _GetCommand GetCommand()
            {
                if (_GetCommandFunc == null)
                {
                    _GetCommandFunc =
                        (_GetCommand)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnActionMap_getCommand"), typeof(_GetCommand));
                }

                return(_GetCommandFunc);
            }