配置的详细介绍请看Doc下《XLua的配置.doc》
| 14 | |
| 15 | //配置的详细介绍请看Doc下《XLua的配置.doc》 |
| 16 | public static class ExampleConfig |
| 17 | { |
| 18 | /***************如果你全lua编程,可以参考这份自动化配置***************/ |
| 19 | //--------------begin 纯lua编程配置参考---------------------------- |
| 20 | //static List<string> exclude = new List<string> { |
| 21 | // "HideInInspector", "ExecuteInEditMode", |
| 22 | // "AddComponentMenu", "ContextMenu", |
| 23 | // "RequireComponent", "DisallowMultipleComponent", |
| 24 | // "SerializeField", "AssemblyIsEditorAssembly", |
| 25 | // "Attribute", "Types", |
| 26 | // "UnitySurrogateSelector", "TrackedReference", |
| 27 | // "TypeInferenceRules", "FFTWindow", |
| 28 | // "RPC", "Network", "MasterServer", |
| 29 | // "BitStream", "HostData", |
| 30 | // "ConnectionTesterStatus", "GUI", "EventType", |
| 31 | // "EventModifiers", "FontStyle", "TextAlignment", |
| 32 | // "TextEditor", "TextEditorDblClickSnapping", |
| 33 | // "TextGenerator", "TextClipping", "Gizmos", |
| 34 | // "ADBannerView", "ADInterstitialAd", |
| 35 | // "Android", "Tizen", "jvalue", |
| 36 | // "iPhone", "iOS", "Windows", "CalendarIdentifier", |
| 37 | // "CalendarUnit", "CalendarUnit", |
| 38 | // "ClusterInput", "FullScreenMovieControlMode", |
| 39 | // "FullScreenMovieScalingMode", "Handheld", |
| 40 | // "LocalNotification", "NotificationServices", |
| 41 | // "RemoteNotificationType", "RemoteNotification", |
| 42 | // "SamsungTV", "TextureCompressionQuality", |
| 43 | // "TouchScreenKeyboardType", "TouchScreenKeyboard", |
| 44 | // "MovieTexture", "UnityEngineInternal", |
| 45 | // "Terrain", "Tree", "SplatPrototype", |
| 46 | // "DetailPrototype", "DetailRenderMode", |
| 47 | // "MeshSubsetCombineUtility", "AOT", "Social", "Enumerator", |
| 48 | // "SendMouseEvents", "Cursor", "Flash", "ActionScript", |
| 49 | // "OnRequestRebuild", "Ping", |
| 50 | // "ShaderVariantCollection", "SimpleJson.Reflection", |
| 51 | // "CoroutineTween", "GraphicRebuildTracker", |
| 52 | // "Advertisements", "UnityEditor", "WSA", |
| 53 | // "EventProvider", "Apple", |
| 54 | // "ClusterInput", "Motion", |
| 55 | // "UnityEngine.UI.ReflectionMethodsCache", "NativeLeakDetection", |
| 56 | // "NativeLeakDetectionMode", "WWWAudioExtensions", "UnityEngine.Experimental", |
| 57 | //}; |
| 58 | |
| 59 | //static bool isExcluded(Type type) |
| 60 | //{ |
| 61 | // var fullName = type.FullName; |
| 62 | // for (int i = 0; i < exclude.Count; i++) |
| 63 | // { |
| 64 | // if (fullName.Contains(exclude[i])) |
| 65 | // { |
| 66 | // return true; |
| 67 | // } |
| 68 | // } |
| 69 | // return false; |
| 70 | //} |
| 71 | |
| 72 | //[LuaCallCSharp] |
| 73 | //public static IEnumerable<Type> LuaCallCSharp |
nothing calls this directly
no test coverage detected