The Swartz-Manning’s first exhibit will provide a detailed history of Aaron Swartz Day. https://www.aaronswartzday.org/vr
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MultiXRSpawnPoint.cs 1.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using VRC;
  5. using VRCSDK2;
  6. using MultiXR;
  7. namespace MultiXR
  8. {
  9. /// <summary>
  10. /// A spawnpoint for VRChat and VRTK.
  11. /// </summary>
  12. public class MultiXRSpawnPoint : MonoBehaviour
  13. {
  14. // Use this for initialization, should be set to work in editor mode
  15. void Awake()
  16. {
  17. switch (MultiXRMasterControl.currentXRSDK)
  18. {
  19. case MultiXRSDK.VRTK:
  20. break;
  21. case MultiXRSDK.VRChat:
  22. VRC_SceneDescriptor vrcsd = GameObject.Find("VRCWorld").GetComponent<VRC_SceneDescriptor>();
  23. // TODO: Implement VRCSD.spawns population
  24. //vrcsd.spawns.
  25. break;
  26. default:
  27. Debug.Log("MultiXRSDK unknown.");
  28. break;
  29. }
  30. }
  31. // Update is called once per frame
  32. void Update()
  33. {
  34. }
  35. }
  36. }