|
|
|
|
|
|
using System; |
|
|
|
using System.Reflection; |
|
|
|
using UnityEditor; |
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
if (s_ApplyWireMaterialMi == null) |
|
|
|
{ |
|
|
|
s_ApplyWireMaterialMi = typeof(HandleUtility).GetMethod("ApplyWireMaterial", BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static | BindingFlags.FlattenHierarchy); |
|
|
|
s_ApplyWireMaterialMi = typeof(HandleUtility).GetMethod( |
|
|
|
"ApplyWireMaterial", |
|
|
|
BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Static | BindingFlags.FlattenHierarchy, |
|
|
|
null, |
|
|
|
new Type[0], |
|
|
|
null); |
|
|
|
} |
|
|
|
|
|
|
|
if (s_ApplyWireMaterialMi != null) |
|
|
|