コード例 #1
0
            internal static _OnCollapsed OnCollapsed()
            {
                if (_OnCollapsedFunc == null)
                {
                    _OnCollapsedFunc =
                        (_OnCollapsed)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "cbGuiRolloutCtrl_onCollapsed"), typeof(_OnCollapsed));
                }

                return(_OnCollapsedFunc);
            }
コード例 #2
0
            internal static _OnCollapsed OnCollapsed()
            {
                if (_OnCollapsedFunc == null)
                {
                    _OnCollapsedFunc =
                        (_OnCollapsed)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "cbGuiRolloutCtrl_onCollapsed"), typeof(_OnCollapsed));
                }

                return(_OnCollapsedFunc);
            }