All Projects → greggman → Better Unity Webgl Template

greggman / Better Unity Webgl Template

Licence: other
A better default template for Unity WebGL

Projects that are alternatives of or similar to Better Unity Webgl Template

Volumetriclinesunity
Source of the Volumetric Lines Asset from Unity's Asset Store
Stars: ✭ 125 (-61.54%)
Mutual labels:  unity3d, unity-asset
Rimlight
Customizable rimlight shader for Unity that includes pulsation and noise scrolling. Give your scenes that extra oomph!
Stars: ✭ 170 (-47.69%)
Mutual labels:  unity3d, unity-asset
Eazy Sound Manager
Eazy Sound Manager is a simple Unity3D tool which aims to make sound and music management in games easier
Stars: ✭ 135 (-58.46%)
Mutual labels:  unity3d, unity-asset
Unigit
An open source GIT Unity3D editor plugin.
Stars: ✭ 111 (-65.85%)
Mutual labels:  unity3d, unity-asset
Unity Editor Toolbox
Tools, custom attributes, drawers, hierarchy overlay, and other extensions for the Unity Editor.
Stars: ✭ 273 (-16%)
Mutual labels:  unity3d, unity-asset
Simple Firebase Unity
Firebase Realtime-Database's REST API Wrapper for Unity in C#
Stars: ✭ 111 (-65.85%)
Mutual labels:  unity3d, unity-asset
Unity Ui Examples
📚 A collection of UI examples for Unity.
Stars: ✭ 152 (-53.23%)
Mutual labels:  unity3d, unity-asset
Fancyscrollview
[Unity] A scrollview component that can implement highly flexible animations.
Stars: ✭ 1,216 (+274.15%)
Mutual labels:  unity3d, unity-asset
Apple Signin Unity
Unity plugin to support Sign In With Apple Id
Stars: ✭ 228 (-29.85%)
Mutual labels:  unity3d, unity-asset
Xrtk Core
The Official Mixed Reality Framework for Unity
Stars: ✭ 219 (-32.62%)
Mutual labels:  unity3d, unity-asset
Reflexityai
Provide a basic framework to build an Utility IA in Unity using the xNode editor of Siccity
Stars: ✭ 109 (-66.46%)
Mutual labels:  unity3d, unity-asset
Savegamefree
Save Game Free is a free and simple but powerful solution for saving and loading game data in unity.
Stars: ✭ 279 (-14.15%)
Mutual labels:  unity3d, unity-asset
Csharp Eval Unity3d
C# Expression Parser for Unity3D
Stars: ✭ 102 (-68.62%)
Mutual labels:  unity3d, unity-asset
Infinity Square Space
Infinity Square/Space. The prototype of the game is open source. Unity Asset.
Stars: ✭ 122 (-62.46%)
Mutual labels:  unity3d, unity-asset
Dlibfacelandmarkdetector
FaceLandmark Detector using Dlib (Unity Asset Plugin)
Stars: ✭ 80 (-75.38%)
Mutual labels:  unity3d, unity-asset
Ugui Super Scrollview Example
Sample project that summarizes usage examples of "UGUI Super ScrollView".
Stars: ✭ 146 (-55.08%)
Mutual labels:  unity3d, unity-asset
Awesome Unity Open Source On Github
A categorized collection of awesome Unity open source on GitHub (800+)
Stars: ✭ 1,124 (+245.85%)
Mutual labels:  unity3d, unity-asset
Msgpack Unity3d
MessagePack and JSON serializer for Unity3D
Stars: ✭ 74 (-77.23%)
Mutual labels:  unity3d, unity-asset
Nvjob Water Shader Simple And Fast
#NVJOB Simple Water Shaders. Free Unity Asset.
Stars: ✭ 172 (-47.08%)
Mutual labels:  unity3d, unity-asset
Realtime Csg For Unity
Realtime-CSG, CSG level editor for Unity
Stars: ✭ 281 (-13.54%)
Mutual labels:  unity3d, unity-asset

A Better Unity WebGL template

I have no idea why Unity choose to not make its WebGL exporter default to filling the window like pretty much all other WebGL apps on the net but in any case here is a template

screenshot

Example: https://greggman.github.io/better-unity-webgl-template/

Instructions 2020

Download and add in this unity package into your project. Then pick Edit->Project Settings->Player, in the WebGL tab under Resolution and Presentation pick "Better2020".

Change Assets/WebGLTemplates/Better2020/logo.png to whatever you want.

You can also set "Hide Full Screen Button" to 1 or true if you don't want the fullscreen button to appear in the bottom right.

See Unity docs on how to customize WebGL Templates.

Instructions 2019

Download and add in this unity package into your project. Then pick Edit->Project Settings->Player, in the WebGL tab under Resolution and Presentation pick "BetterTemplate".

Change Assets/WebGLTemplates/BetterTemplate/logo.png to whatever you want.

See Unity docs on how to customize WebGL Templates.

Changelist

  • 0.1.0

    • Add Unity 2020
  • 0.0.3

    • Try to make mobile dialog appear above logo.

      It's a little sad that Unity hard coded this rather than make it some kind of event and/or make the template itself handle this. The issue is there's no easy way to know if the inserted elements are the mobile warning or something else.

      I suppose could check if the game has actually loaded. If no it's the mobile warning. If yes then disable the CSS. Oh well, burn that bridge when we get there.

    • Fix logo size css

    • Add viewport tag

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].