You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
460 B
19 lines
460 B
using UnityEngine;
|
|
using UnityEditor;
|
|
using System.Collections;
|
|
using System.Reflection;
|
|
|
|
public class ToolsUtil
|
|
{
|
|
public static bool Hidden
|
|
{
|
|
get
|
|
{
|
|
return (bool)typeof(Tools).GetField("s_Hidden", BindingFlags.NonPublic | BindingFlags.Static).GetValue(null);
|
|
}
|
|
set
|
|
{
|
|
typeof(Tools).GetField("s_Hidden", BindingFlags.NonPublic | BindingFlags.Static).SetValue(null, value);
|
|
}
|
|
}
|
|
} |