Beispiel #1
0
            internal static _ResetState ResetState()
            {
                if (_ResetStateFunc == null)
                {
                    _ResetStateFunc =
                        (_ResetState)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiButtonBaseCtrl_resetState"), typeof(_ResetState));
                }

                return(_ResetStateFunc);
            }
Beispiel #2
0
            internal static _ResetState ResetState()
            {
                if (_ResetStateFunc == null)
                {
                    _ResetStateFunc =
                        (_ResetState)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiButtonBaseCtrl_resetState"), typeof(_ResetState));
                }

                return(_ResetStateFunc);
            }