diff --git a/Assets/GameScripts/Main/DisStripCode/DisStripCode.cs b/Assets/GameScripts/Main/DisStripCode/DisStripCode.cs index 4f3b527e..4f2fbdf5 100644 --- a/Assets/GameScripts/Main/DisStripCode/DisStripCode.cs +++ b/Assets/GameScripts/Main/DisStripCode/DisStripCode.cs @@ -6,27 +6,40 @@ using UnityEngine; /// public class DisStripCode : MonoBehaviour { - private void Awake() - { - //UnityEngine.Physics - RegisterType(); - RegisterType(); - RegisterType(); - RegisterType(); - - //UnityEngine.Graphics - RegisterType(); - RegisterType(); - - //UnityEngine.Animation - RegisterType(); - RegisterType(); - } + private void Awake() + { + //UnityEngine.Physics + RegisterType(); + RegisterType(); + RegisterType(); + RegisterType(); + RegisterType(); - private void RegisterType() - { + RegisterType(); + RegisterType(); + + //UnityEngine.Graphics + RegisterType(); + RegisterType(); + + //UnityEngine.Animation + RegisterType(); + RegisterType(); + RegisterType(); + RegisterType(); + RegisterType(); + RegisterType(); + + //IOSCamera ios下相机权限的问题,用这种方法就可以解决了 问题防裁剪。 + foreach (var _ in WebCamTexture.devices) + { + } + } + + private void RegisterType() + { #if UNITY_EDITOR && false Debug.Log($"DisStripCode RegisterType :{typeof(T)}"); #endif - } -} + } +} \ No newline at end of file