using System.Collections.Generic; using System; using UnityEngine; using XLua; public static class PeformentTestConfig { [LuaCallCSharp] public static List LuaCallCSharp { get { return new List() { typeof(System.Object), typeof(UnityEngine.Object), typeof(Vector3), }; } } [BlackList] public static List> BlackList { get { return new List>() { new List(){"UnityEngine.WWW", "movie"}, new List(){"UnityEngine.Texture2D", "alphaIsTransparency"}, new List(){"UnityEngine.Security", "GetChainOfTrustValue"}, new List(){"UnityEngine.CanvasRenderer", "onRequestRebuild"}, new List(){"UnityEngine.Light", "areaSize"}, new List(){"UnityEngine.AnimatorOverrideController", "PerformOverrideClipListCleanup"}, #if !UNITY_WEBPLAYER new List(){"UnityEngine.Application", "ExternalEval"}, #endif new List(){"UnityEngine.GameObject", "networkView"}, //4.6.2 not support new List(){"UnityEngine.Component", "networkView"}, //4.6.2 not support new List(){"System.IO.FileInfo", "GetAccessControl", "System.Security.AccessControl.AccessControlSections"}, new List(){"System.IO.FileInfo", "SetAccessControl", "System.Security.AccessControl.FileSecurity"}, new List(){"System.IO.DirectoryInfo", "GetAccessControl", "System.Security.AccessControl.AccessControlSections"}, new List(){"System.IO.DirectoryInfo", "SetAccessControl", "System.Security.AccessControl.DirectorySecurity"}, new List(){"System.IO.DirectoryInfo", "CreateSubdirectory", "System.String", "System.Security.AccessControl.DirectorySecurity"}, new List(){"System.IO.DirectoryInfo", "Create", "System.Security.AccessControl.DirectorySecurity"}, }; } } }