Google.
  Helper methods related to the UnityPlayer Java class.
Summary
| Public static functions | |
|---|---|
| GetCurrentActivity() | AndroidJavaObjectGets the current activity running in Unity.  | 
Public static functions
GetCurrentActivity
AndroidJavaObject GetCurrentActivity()
Gets the current activity running in Unity.
This object should be disposed after use.
| Details | |
|---|---|
| Returns | A wrapped activity object. The AndroidJavaObject should be disposed. | 
