Class AddReferenceWindow
A small utility window for adding references to SceneReferenceResolver and AssetReferenceResolver
Inheritance
System.Object
UnityEngine.Object
UnityEngine.ScriptableObject
UnityEditor.EditorWindow
AddReferenceWindow
Inherited Members
UnityEditor.EditorWindow.BeginWindows()
UnityEditor.EditorWindow.EndWindows()
UnityEditor.EditorWindow.ShowNotification(UnityEngine.GUIContent)
UnityEditor.EditorWindow.ShowNotification(UnityEngine.GUIContent, System.Double)
UnityEditor.EditorWindow.RemoveNotification()
UnityEditor.EditorWindow.ShowTab()
UnityEditor.EditorWindow.Focus()
UnityEditor.EditorWindow.ShowUtility()
UnityEditor.EditorWindow.ShowPopup()
UnityEditor.EditorWindow.ShowModalUtility()
UnityEditor.EditorWindow.ShowAsDropDown(UnityEngine.Rect, UnityEngine.Vector2)
UnityEditor.EditorWindow.Show()
UnityEditor.EditorWindow.Show(System.Boolean)
UnityEditor.EditorWindow.ShowAuxWindow()
UnityEditor.EditorWindow.ShowModal()
UnityEditor.EditorWindow.GetWindow(System.Type, System.Boolean, System.String, System.Boolean)
UnityEditor.EditorWindow.GetWindow(System.Type, System.Boolean, System.String)
UnityEditor.EditorWindow.GetWindow(System.Type, System.Boolean)
UnityEditor.EditorWindow.GetWindow(System.Type)
UnityEditor.EditorWindow.GetWindowWithRect(System.Type, UnityEngine.Rect, System.Boolean, System.String)
UnityEditor.EditorWindow.GetWindowWithRect(System.Type, UnityEngine.Rect, System.Boolean)
UnityEditor.EditorWindow.GetWindowWithRect(System.Type, UnityEngine.Rect)
UnityEditor.EditorWindow.GetWindow<T>()
UnityEditor.EditorWindow.GetWindow<T>(System.Boolean)
UnityEditor.EditorWindow.GetWindow<T>(System.Boolean, System.String)
UnityEditor.EditorWindow.GetWindow<T>(System.String)
UnityEditor.EditorWindow.GetWindow<T>(System.String, System.Boolean)
UnityEditor.EditorWindow.GetWindow<T>(System.Boolean, System.String, System.Boolean)
UnityEditor.EditorWindow.GetWindow<T>(System.Type[])
UnityEditor.EditorWindow.GetWindow<T>(System.String, System.Type[])
UnityEditor.EditorWindow.GetWindow<T>(System.String, System.Boolean, System.Type[])
UnityEditor.EditorWindow.CreateWindow<T>(System.Type[])
UnityEditor.EditorWindow.CreateWindow<T>(System.String, System.Type[])
UnityEditor.EditorWindow.HasOpenInstances<T>()
UnityEditor.EditorWindow.FocusWindowIfItsOpen(System.Type)
UnityEditor.EditorWindow.FocusWindowIfItsOpen<T>()
UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect)
UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect, System.Boolean)
UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect, System.Boolean, System.String)
UnityEditor.EditorWindow.GetWindowWithRect<T>(UnityEngine.Rect, System.Boolean, System.String, System.Boolean)
UnityEditor.EditorWindow.Close()
UnityEditor.EditorWindow.Repaint()
UnityEditor.EditorWindow.SendEvent(UnityEngine.Event)
UnityEditor.EditorWindow.GetExtraPaneTypes()
UnityEditor.EditorWindow.rootVisualElement
UnityEditor.EditorWindow.wantsMouseMove
UnityEditor.EditorWindow.wantsMouseEnterLeaveWindow
UnityEditor.EditorWindow.autoRepaintOnSceneChange
UnityEditor.EditorWindow.maximized
UnityEditor.EditorWindow.focusedWindow
UnityEditor.EditorWindow.mouseOverWindow
UnityEditor.EditorWindow.minSize
UnityEditor.EditorWindow.maxSize
UnityEditor.EditorWindow.title
UnityEditor.EditorWindow.titleContent
UnityEditor.EditorWindow.depthBufferBits
UnityEditor.EditorWindow.antiAlias
UnityEditor.EditorWindow.position
UnityEngine.ScriptableObject.SetDirty()
UnityEngine.ScriptableObject.CreateInstance(System.String)
UnityEngine.ScriptableObject.CreateInstance(System.Type)
UnityEngine.ScriptableObject.CreateInstance<T>()
UnityEngine.Object.GetInstanceID()
UnityEngine.Object.GetHashCode()
UnityEngine.Object.Equals(System.Object)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
UnityEngine.Object.Instantiate(UnityEngine.Object)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform, System.Boolean)
UnityEngine.Object.Instantiate<T>(T)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform, System.Boolean)
UnityEngine.Object.Destroy(UnityEngine.Object, System.Single)
UnityEngine.Object.Destroy(UnityEngine.Object)
UnityEngine.Object.DestroyImmediate(UnityEngine.Object, System.Boolean)
UnityEngine.Object.DestroyImmediate(UnityEngine.Object)
UnityEngine.Object.FindObjectsOfType(System.Type)
UnityEngine.Object.DontDestroyOnLoad(UnityEngine.Object)
UnityEngine.Object.DestroyObject(UnityEngine.Object, System.Single)
UnityEngine.Object.DestroyObject(UnityEngine.Object)
UnityEngine.Object.FindSceneObjectsOfType(System.Type)
UnityEngine.Object.FindObjectsOfTypeIncludingAssets(System.Type)
UnityEngine.Object.FindObjectsOfType<T>()
UnityEngine.Object.FindObjectOfType<T>()
UnityEngine.Object.FindObjectsOfTypeAll(System.Type)
UnityEngine.Object.FindObjectOfType(System.Type)
UnityEngine.Object.ToString()
UnityEngine.Object.name
UnityEngine.Object.hideFlags
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Bayat.Core
Assembly: Bayat.Core.Editor.dll
Syntax
public class AddReferenceWindow : EditorWindow
Fields
| Improve this Doc View SourceassetReferenceResolver
Declaration
protected AssetReferenceResolver assetReferenceResolver
Field Value
Type | Description |
---|---|
AssetReferenceResolver |
dependencies
Declaration
protected List<AddReferenceWindow.Dependency> dependencies
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<AddReferenceWindow.Dependency> |
missingSceneReferenceManagers
Declaration
protected List<Scene> missingSceneReferenceManagers
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<UnityEngine.SceneManagement.Scene> |
scrollPosition
Declaration
protected Vector2 scrollPosition
Field Value
Type | Description |
---|---|
UnityEngine.Vector2 |
selectedDependencies
Declaration
protected List<AddReferenceWindow.Dependency> selectedDependencies
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<AddReferenceWindow.Dependency> |
selectedUnityObjects
Declaration
protected List<Object> selectedUnityObjects
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<UnityEngine.Object> |
Methods
| Improve this Doc View SourceAddSelectedReferences()
Declaration
public virtual void AddSelectedReferences()
Initialize()
Declaration
[MenuItem("Window/Bayat/Core/Add Reference")]
public static AddReferenceWindow Initialize()
Returns
Type | Description |
---|---|
AddReferenceWindow |
Initialize(Object[])
Declaration
public static AddReferenceWindow Initialize(Object[] unityObjects)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Object[] | unityObjects |
Returns
Type | Description |
---|---|
AddReferenceWindow |
IsReferenced(Object)
Declaration
protected virtual bool IsReferenced(Object unityObject)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Object | unityObject |
Returns
Type | Description |
---|---|
System.Boolean |
OnDisable()
Declaration
protected virtual void OnDisable()
OnEnable()
Declaration
protected virtual void OnEnable()
OnGUI()
Declaration
protected virtual void OnGUI()
OnInspectorUpdate()
Declaration
protected virtual void OnInspectorUpdate()
OnSelectionChanged()
Declaration
protected virtual void OnSelectionChanged()
RefreshDependencies()
Declaration
protected virtual void RefreshDependencies()