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