Esempio n. 1
0
 public static UnityObject GetPrefab(this UnityObject current)
 {
     return(ProxyEditor.GetPrefab(current));
 }
Esempio n. 2
0
 public static GameObject GetPrefabRoot(this GameObject current)
 {
     return(ProxyEditor.GetPrefabRoot(current));
 }
Esempio n. 3
0
 public static void UpdateSerialized(this Component current)
 {
     ProxyEditor.UpdateSerialized(current);
 }
Esempio n. 4
0
 public static Vector2 GetInspectorScroll(Editor editor)
 {
     return(ProxyEditor.GetInspector(editor).GetVariable <Vector2>("m_ScrollPosition"));
 }
Esempio n. 5
0
 public static bool IsSwitching()
 {
     return(ProxyEditor.IsChanging() || ProxyEditor.IsCompiling());
 }
Esempio n. 6
0
 public static bool IsPlaying()
 {
     return(Application.isPlaying || ProxyEditor.IsChanging());
 }