MeshesStatus.cs 495 B

1234567891011121314151617181920212223
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using EZXR.Glass.SixDof;
  5. using UnityEngine.UI;
  6. using EZXR.Glass.SpatialMesh;
  7. public class MeshesStatus : MonoBehaviour
  8. {
  9. public Text meshesStatus;
  10. // Start is called before the first frame update
  11. void Start()
  12. {
  13. }
  14. // Update is called once per frame
  15. void Update()
  16. {
  17. meshesStatus.text = "gameobj chunk num : " + SpatialMeshManager.Instance.DetectedMeshChunksCount;
  18. }
  19. }