1234567891011121314151617181920212223242526272829303132333435363738394041 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using VRC;
- using VRCSDK2;
- using MultiXR;
-
- namespace MultiXR
- {
- /// <summary>
- /// A spawnpoint for VRChat and VRTK.
- /// </summary>
- public class MultiXRSpawnPoint : MonoBehaviour
- {
-
-
- // Use this for initialization, should be set to work in editor mode
- void Awake()
- {
- switch (MultiXRMasterControl.currentXRSDK)
- {
- case MultiXRSDK.VRTK:
- break;
- case MultiXRSDK.VRChat:
- VRC_SceneDescriptor vrcsd = GameObject.Find("VRCWorld").GetComponent<VRC_SceneDescriptor>();
- // TODO: Implement VRCSD.spawns population
- //vrcsd.spawns.
- break;
- default:
- Debug.Log("MultiXRSDK unknown.");
- break;
- }
- }
-
- // Update is called once per frame
- void Update()
- {
-
- }
- }
- }
|