Tanoda
WebGLFileUploaderExample.cs
Go to the documentation of this file.
1using UnityEngine;
2using System.Collections;
3
4#if UNITY_5_3 || UNITY_5_3_OR_NEWER
5using UnityEngine.SceneManagement;
6#endif
7
9{
10 public class WebGLFileUploaderExample : MonoBehaviour
11 {
12 // Use this for initialization
13 void Start ()
14 {
15
16 }
17
18 // Update is called once per frame
19 void Update ()
20 {
21
22 }
23
25 {
26 #if UNITY_5_3 || UNITY_5_3_OR_NEWER
27 SceneManager.LoadScene ("ShowLicense");
28 #else
29 Application.LoadLevel ("ShowLicense");
30 #endif
31 }
32
34 {
35 #if UNITY_5_3 || UNITY_5_3_OR_NEWER
36 SceneManager.LoadScene ("FileUploadExample");
37 #else
38 Application.LoadLevel ("FileUploadExample");
39 #endif
40 }
41
43 {
44 #if UNITY_5_3 || UNITY_5_3_OR_NEWER
45 SceneManager.LoadScene ("Texture2DToMatExample");
46 #else
47 Application.LoadLevel ("Texture2DToMatExample");
48 #endif
49 }
50 }
51}