AR Foundation演示项目,使用 AR Foundation 4.1.7 并围绕某些功能演示更高级功能。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

30 行
691 B

using System;
using UnityEngine;
using UnityEngine.XR.ARFoundation;
public class BodyRecordingUIManager : MonoBehaviour
{
[SerializeField]
ARHumanBodyManager m_HumanBodyManager;
[SerializeField]
GameObject m_BodyRecordingUI;
[SerializeField]
GameObject m_BodyPlacingUI;
void OnEnable()
{
m_HumanBodyManager.humanBodiesChanged += HumanBodyManagerOnhumanHumanBodiesChanged;
}
void OnDisable()
{
m_HumanBodyManager.humanBodiesChanged -= HumanBodyManagerOnhumanHumanBodiesChanged;
}
void HumanBodyManagerOnhumanHumanBodiesChanged(ARHumanBodiesChangedEventArgs obj)
{
}
}