注释防裁剪脚本中相机权限的引用

注释防裁剪脚本中相机权限的引用
This commit is contained in:
ALEXTANG
2023-08-01 16:57:43 +08:00
parent 32366eb127
commit 774b73bbbf

View File

@@ -29,6 +29,15 @@ public class DisStripCode : MonoBehaviour
RegisterType<AnimationState>();
RegisterType<Animator>();
RegisterType<Animation>();
#if UNITY_IOS || PLATFORM_IOS
/*
// IOSCamera ios下相机权限的问题用这种方法就可以解决了 问题防裁剪。
foreach (var _ in WebCamTexture.devices)
{
}
*/
#endif
}
private void RegisterType<T>()