Beispiel #1
0
            internal static _IsStateOn IsStateOn()
            {
                if (_IsStateOnFunc == null)
                {
                    _IsStateOnFunc =
                        (_IsStateOn)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiCheckBoxCtrl_isStateOn"), typeof(_IsStateOn));
                }

                return(_IsStateOnFunc);
            }
Beispiel #2
0
            internal static _IsStateOn IsStateOn()
            {
                if (_IsStateOnFunc == null)
                {
                    _IsStateOnFunc =
                        (_IsStateOn)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiCheckBoxCtrl_isStateOn"), typeof(_IsStateOn));
                }

                return(_IsStateOnFunc);
            }