internal static _GetCurrentTime GetCurrentTime() { if (_GetCurrentTimeFunc == null) { _GetCurrentTimeFunc = (_GetCurrentTime)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnGuiTheoraCtrl_getCurrentTime"), typeof(_GetCurrentTime)); } return(_GetCurrentTimeFunc); }
internal static _GetCurrentTime GetCurrentTime() { if (_GetCurrentTimeFunc == null) { _GetCurrentTimeFunc = (_GetCurrentTime)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnGuiTheoraCtrl_getCurrentTime"), typeof(_GetCurrentTime)); } return(_GetCurrentTimeFunc); }