DemoSceneLoader.cs 329 B

1234567891011121314151617
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.SceneManagement;
  5. namespace Imagine.WebAR.Samples
  6. {
  7. public class DemoSceneLoader : MonoBehaviour
  8. {
  9. public void LoadScene(string sceneName)
  10. {
  11. SceneManager.LoadScene(sceneName);
  12. }
  13. }
  14. }