ToLua报错处理

This commit is contained in:
fatiao 2025-04-13 09:34:51 +08:00
parent 2403e4056b
commit d3473e2f53

View File

@ -74,7 +74,7 @@ public static class CustomSettings
_GT (typeof (Component)).AddExtendType (typeof (DG.Tweening.ShortcutExtensions)),
_GT (typeof (Transform)).AddExtendType (typeof (DG.Tweening.ShortcutExtensions)).AddExtendType(typeof(UnityEngineUtils)),
_GT (typeof (Light)).AddExtendType (typeof (DG.Tweening.ShortcutExtensions)),
_GT (typeof (Material)).AddExtendType (typeof (DG.Tweening.ShortcutExtensions)),
//_GT (typeof (Material)).AddExtendType (typeof (DG.Tweening.ShortcutExtensions)),
_GT (typeof (Rigidbody)).AddExtendType (typeof (DG.Tweening.ShortcutExtensions)),
_GT (typeof (Camera)).AddExtendType (typeof (DG.Tweening.ShortcutExtensions)),
_GT (typeof (AudioSource)).AddExtendType (typeof (DG.Tweening.ShortcutExtensions)),
@ -98,20 +98,20 @@ public static class CustomSettings
_GT (typeof (MonoBehaviour)),
_GT (typeof (GameObject)).AddExtendType (typeof (UnityEngineUtils)),
_GT (typeof (TrackedReference)),
_GT (typeof (Application)),
//_GT (typeof (Application)),
_GT (typeof (Physics)),
_GT (typeof (Collider)),
_GT (typeof (Time)),
_GT (typeof (Texture)),
_GT (typeof (Texture2D)),
_GT (typeof (Shader)),
//_GT (typeof (Shader)),
_GT (typeof (Renderer)),
_GT (typeof (WWW)),
_GT (typeof (Screen)),
//_GT (typeof (Screen)),
_GT (typeof (CameraClearFlags)),
_GT (typeof (AudioClip)),
_GT (typeof (AssetBundle)),
_GT (typeof (ParticleSystem)),
//_GT (typeof (ParticleSystem)),
_GT (typeof (AsyncOperation)).SetBaseType (typeof (System.Object)),
_GT (typeof (LightType)),
_GT (typeof (SleepTimeout)),