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