mirror of
https://github.com/MrUnknownDE/examples-image-loading.git
synced 2026-05-04 05:36:05 +02:00
Adds screenshots
This commit is contained in:
@@ -7,12 +7,17 @@ This is a WIP Unity Example Project that demonstrates some ways that remote imag
|
|||||||
Clone or Download this project and open it up in Unity 2019.4.31f1.
|
Clone or Download this project and open it up in Unity 2019.4.31f1.
|
||||||
|
|
||||||
## Gallery Example
|
## Gallery Example
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
Scene File: `Assets/_Project/Gallery`
|
Scene File: `Assets/_Project/Gallery`
|
||||||
|
|
||||||
This scene demonstrates a RemoteImageFrame which loads images from a web server at runtime.
|
This scene demonstrates a RemoteImageFrame which loads images from a web server at runtime.
|
||||||
|
|
||||||
### TheFrame
|
### TheFrame
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
TheFrame is a GameObject with a couple of important pieces:
|
TheFrame is a GameObject with a couple of important pieces:
|
||||||
* SlideshowFrame UdonBehaviour to load the images and captions from a web server.
|
* SlideshowFrame UdonBehaviour to load the images and captions from a web server.
|
||||||
* Mesh object to render the frame.
|
* Mesh object to render the frame.
|
||||||
@@ -23,6 +28,8 @@ TheFrame is a GameObject with a couple of important pieces:
|
|||||||
|
|
||||||
This UdonBehaviour has all of the logic to download the images and captions from a web server.
|
This UdonBehaviour has all of the logic to download the images and captions from a web server.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
It has these public variables:
|
It has these public variables:
|
||||||
* Rgb Url - an array of all the `VRCUrls` for the images to download.
|
* Rgb Url - an array of all the `VRCUrls` for the images to download.
|
||||||
* String Url - a single `VRCUrl` where the caption text can be downloaded.
|
* String Url - a single `VRCUrl` where the caption text can be downloaded.
|
||||||
|
|||||||
Reference in New Issue
Block a user