Ejemplo n.º 1
0
            internal static _SetControlObject SetControlObject()
            {
                if (_SetControlObjectFunc == null)
                {
                    _SetControlObjectFunc =
                        (_SetControlObject)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnPlayer_setControlObject"), typeof(_SetControlObject));
                }

                return(_SetControlObjectFunc);
            }
Ejemplo n.º 2
0
            internal static _SetControlObject SetControlObject()
            {
                if (_SetControlObjectFunc == null)
                {
                    _SetControlObjectFunc =
                        (_SetControlObject)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPlayer_setControlObject"), typeof(_SetControlObject));
                }

                return(_SetControlObjectFunc);
            }