您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

22 行
650 B

using System.Reflection;
namespace UnityEditor.Experimental
{
internal class UIHelpers
{
static MethodInfo s_ApplyWireMaterialMi;
public static void ApplyWireMaterial()
{
if (s_ApplyWireMaterialMi == null)
{
s_ApplyWireMaterialMi = typeof(HandleUtility).GetMethod("ApplyWireMaterial", BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static | BindingFlags.FlattenHierarchy);
}
if (s_ApplyWireMaterialMi != null)
{
s_ApplyWireMaterialMi.Invoke(null, null);
}
}
}
}