Esempio n. 1
0
            internal static _GetControlObject GetControlObject()
            {
                if (_GetControlObjectFunc == null)
                {
                    _GetControlObjectFunc =
                        (_GetControlObject)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnPlayer_getControlObject"), typeof(_GetControlObject));
                }

                return(_GetControlObjectFunc);
            }
Esempio n. 2
0
            internal static _GetControlObject GetControlObject()
            {
                if (_GetControlObjectFunc == null)
                {
                    _GetControlObjectFunc =
                        (_GetControlObject)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPlayer_getControlObject"), typeof(_GetControlObject));
                }

                return(_GetControlObjectFunc);
            }