Tilt Five™ Unity API  1.4.1
TiltFive.SystemControl Class Reference

Static Public Member Functions

static bool IsTiltFiveUIRequestingAttention ()
 

Detailed Description

Definition at line 22 of file SystemControl.cs.

Member Function Documentation

◆ IsTiltFiveUIRequestingAttention()

static bool TiltFive.SystemControl.IsTiltFiveUIRequestingAttention ( )
static

Definition at line 24 of file SystemControl.cs.

25  {
26  T5_Bool attentionRequested = false;
27  try
28  {
29  var result = NativePlugin.IsTiltFiveUIRequestingAttention(ref attentionRequested);
30 
31  // Return false if the native client reports an internal error while running this query.
32  if (result != NativePlugin.T5_RESULT_SUCCESS)
33  {
34  return false;
35  }
36  }
37  catch (Exception e)
38  {
39  Log.Error(e.Message);
40  return false;
41  }
42 
43  return attentionRequested;
44  }
The Logger.
Definition: Log.cs:42
static void Error(string m, params object[] list)
ERROR logging function call.
Definition: Log.cs:127

References TiltFive.Logging.Log.Error().


The documentation for this class was generated from the following file: