Example #1
0
            internal static _SetControl SetControl()
            {
                if (_SetControlFunc == null)
                {
                    _SetControlFunc =
                        (_SetControl)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "cbGameBase_setControl"), typeof(_SetControl));
                }

                return(_SetControlFunc);
            }
Example #2
0
            internal static _SetControl SetControl()
            {
                if (_SetControlFunc == null)
                {
                    _SetControlFunc =
                        (_SetControl)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "cbGameBase_setControl"), typeof(_SetControl));
                }

                return(_SetControlFunc);
            }