Search Unity

Is it feasible to run multiple instances of webgl on one webpage?

Discussion in 'Web' started by EiknarF, Jan 22, 2019.

  1. EiknarF

    EiknarF

    Joined:
    Apr 28, 2011
    Posts:
    142
    I'm an artist with some basic c# scripting knowledge and was hoping to use unity webGL to display some work.

    The idea in my head is a grid of pictures made up of 3 across by x down (like when you are online shopping and switch to grid mode). Then because the pictures are webgl you could rotate or zoom in and I could play animations in them.

    I can do everything I need inside unity but would like to know if this idea is feasible, and if so how to do it!

    I can build unity>webGL ok but using the template html it spits out I can't see how to load more than 1 webGL instance. I'm also having no success trying to align the web gl instance to anywhere else other than the center of the screen.

    Thanks in advance.