Ejemplo n.º 1
0
            internal static _GetActiveTool GetActiveTool()
            {
                if (_GetActiveToolFunc == null)
                {
                    _GetActiveToolFunc =
                        (_GetActiveTool)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnForestEditorCtrl_getActiveTool"), typeof(_GetActiveTool));
                }

                return(_GetActiveToolFunc);
            }
Ejemplo n.º 2
0
            internal static _GetActiveTool GetActiveTool()
            {
                if (_GetActiveToolFunc == null)
                {
                    _GetActiveToolFunc =
                        (_GetActiveTool)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnForestEditorCtrl_getActiveTool"), typeof(_GetActiveTool));
                }

                return(_GetActiveToolFunc);
            }