同步操作将从 jzt/UnityFun 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
using System;using System.Collections.Generic;using UnityEngine;using UnityEngine.UI;using XLua;using DG.Tweening;using UnityEngine.EventSystems;public static class LuaImportSetting{[CSObjectWrapEditor.GenPath]public static string GenPath = "Assets/Scripts/XLuaGen";[LuaCallCSharp]public static List<Type> LuaCallCSharp = new List<Type>(){//UnityEnginetypeof(Vector2),typeof(Vector3),typeof(Quaternion),typeof(Rect),typeof(Plane),typeof(GameObject),typeof(Component),typeof(Behaviour),typeof(MonoBehaviour),typeof(Transform),typeof(Time),typeof(Camera),typeof(RenderTexture),typeof(TextureFormat),typeof(Input),typeof(Sprite),typeof(SpriteRenderer),typeof(BoxCollider),typeof(Ray),typeof(LayerMask),typeof(Animation),typeof(AnimationState),typeof(WrapMode),typeof(Screen),typeof(Application),typeof(SkinnedMeshRenderer),typeof(Material),typeof(Font),typeof(Color),typeof(Resources),typeof(RectTransform),typeof(RectTransformUtility),typeof(Canvas),typeof(RawImage),typeof(Image),typeof(Text),typeof(TextAnchor),typeof(Button),typeof(InputField),typeof(Slider),typeof(EventTrigger),typeof(EventTrigger.Entry),typeof(EventTriggerType),typeof(ScrollRect),typeof(RectMask2D),typeof(ContentSizeFitter),typeof(HorizontalLayoutGroup),typeof(VerticalLayoutGroup),typeof(GridLayoutGroup),typeof(LayoutElement),//DoTweentypeof(Tween),typeof(TweenExtensions),typeof(TweenSettingsExtensions),typeof(ShortcutExtensions),typeof(PathType),typeof(Ease),typeof(RotateMode),//Customtypeof(XLuaImportFix),typeof(AssetBundleManager),typeof(AssetBundleLoader),typeof(ABLoaderBinder),typeof(CombineMesh),typeof(LogTool),typeof(Util),typeof(LoopVerticalScrollRect),typeof(LoopHorizontalScrollRect),typeof(LoopScrollPrefabSource),typeof(LoopScrollSendIndexLuaSource),};[CSharpCallLua]public static List<Type> CSharpCallLua = new List<Type>(){//lua_function -> delegatetypeof(Action),typeof(UnityEngine.Events.UnityAction),typeof(UnityEngine.Events.UnityAction<BaseEventData>),typeof(TweenCallback),typeof(AssetBundle),typeof(AssetBundleLoader.LoadedCallback),typeof(AssetBundleManager.SceneLoadedCallback),typeof(LoopScrollSendIndexLuaSource.UpdateCell),};[BlackList]public static List<List<string>> BlackList = new List<List<string>>(){new List<string>(){ "UnityEngine.Input", "IsJoystickPreconfigured", "System.String"},new List<string>(){ "UnityEngine.UI.Text", "OnRebuildRequested"},};//static List<Type> GetDLLAllTypes(string dllName)//{// var list = new List<Type>();// Assembly assembly = Assembly.Load(dllName);// Type[] types = assembly.GetExportedTypes();// foreach (Type t in types)// {// list.Add(t);// }// return list;//}}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。