FullscreenWebGL View on Asset Store (opens in new tab)

Package details

Latest version
2.0
Last updated
First released
Unity version
2019.4.36 or later
Package size
66 KB
Files
6
Favorites
55
Views in the past week
16

Price tracking

Last checked
Tracked since
Lowest recorded
Free on

Keywords

FullscreenWebGL

by Marks (opens in new tab)

4.8 / 5 · 10 ratings

Ratings by stars
Number of ratings for each star rating
5 stars 9
4 stars 0
3 stars 1
2 stars 0
1 star 0

Fullscreen on roids.

Price Free

Get it free on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for FullscreenWebGL, 6 months Current Free; lowest Free; highest Free in this period. $0 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 2

FullscreenWebGL screenshot 1

FullscreenWebGL screenshot 1

About this asset

WHY?

I know what you're thinking. There's already the Screen.fullScreen api, and it works on WebGL, even mobile devices.

Well, that's true. However, there are a couple of things that this plugin can do which the official solution can't:

1-You can configure the navigationUI parameter. The official solution has this parameter set to auto. Which means that in some browsers, like Chrome on Android, will show the navigation bar on fullscreen. By default, my plugin sets this parameter to hide.

2-You can set callbacks to do something when the app enters fullscreen and/or exits fullscreen. You can react to fullscreen changes. This is useful if you want to have a button to toggle fullscreen and change its appearance accordingly, for example. Note that this works even if the user exits fullscreen using the navigation bar or the ESC key instead of a button from your app.

3-You can detect if fullscreen is available on the device. Meaning you can show the toggle button only if the user can switch to fullscreen in the first place. On Safari for iPhone you can't for example.

TL;DR

Fullscreen on roids. If the official solution is enough for you, don't bother. But hey, it's free.

Any Requirements?

Yes, your browser needs to implement the Fullscreen API.

If you like my plugin, please consider leaving a review. It helps me immensely and encourages me to improve the plugin further, and other people to support my work :).

From the publisher's Asset Store listing.

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
2019.4.36f1 Compatible Compatible Compatible Compatible

As listed on the Asset Store.