mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
注释防裁剪脚本中相机权限的引用
注释防裁剪脚本中相机权限的引用
This commit is contained in:
@@ -29,6 +29,15 @@ public class DisStripCode : MonoBehaviour
|
|||||||
RegisterType<AnimationState>();
|
RegisterType<AnimationState>();
|
||||||
RegisterType<Animator>();
|
RegisterType<Animator>();
|
||||||
RegisterType<Animation>();
|
RegisterType<Animation>();
|
||||||
|
|
||||||
|
#if UNITY_IOS || PLATFORM_IOS
|
||||||
|
/*
|
||||||
|
// IOSCamera ios下相机权限的问题,用这种方法就可以解决了 问题防裁剪。
|
||||||
|
foreach (var _ in WebCamTexture.devices)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
private void RegisterType<T>()
|
private void RegisterType<T>()
|
||||||
|
Reference in New Issue
Block a user