예제 #1
0
            internal static _OnTick OnTick()
            {
                if (_OnTickFunc == null)
                {
                    _OnTickFunc =
                        (_OnTick)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "cbGuiAutoScrollCtrl_onTick"), typeof(_OnTick));
                }

                return(_OnTickFunc);
            }
예제 #2
0
            internal static _OnTick OnTick()
            {
                if (_OnTickFunc == null)
                {
                    _OnTickFunc =
                        (_OnTick)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "cbGuiAutoScrollCtrl_onTick"), typeof(_OnTick));
                }

                return(_OnTickFunc);
            }