|
|
|
|
|
|
|
|
|
|
namespace Unity.UIWidgets.engine2 { |
|
|
|
public static class AndroidPlatformUtil { |
|
|
|
public static class UIWidgetsAndroidConfiguration{ |
|
|
|
public const bool showStatusBar = true; |
|
|
|
} |
|
|
|
|
|
|
|
[DllImport(NativeBindings.dllName)] |
|
|
|
internal static extern void InitUnpackFile(UnpackFileCallback unpack); |
|
|
|
|
|
|
|
|
|
|
public static void Init() { |
|
|
|
InitUnpackFile(unpackFile); |
|
|
|
GL.IssuePluginEvent(GetUnityContextEventFunc(), 1); |
|
|
|
if( UIWidgetsAndroidConfiguration.showStatusBar){ |
|
|
|
ShowStatusBar(true); |
|
|
|
} |
|
|
|
#if !UNITY_EDITOR
|
|
|
|
#endif
|
|
|
|
} |
|
|
|
} |
|
|
|
} |