|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
[SerializeField] |
|
|
|
public DiscoverAsset discoverAsset { get; private set; } |
|
|
|
Texture2D header; |
|
|
|
bool forceGlobal; |
|
|
|
|
|
|
titleContent = new GUIContent(discoverAsset.WindowTitle); |
|
|
|
minSize = new Vector2(discoverAsset.WindowWidth, discoverAsset.WindowHeight); |
|
|
|
maxSize = new Vector2(discoverAsset.WindowWidth, discoverAsset.WindowHeight); |
|
|
|
UpdateDiscoverObjects(); |
|
|
|
UpdateDiscoverObjects(); |
|
|
|
EditorSceneManager.newSceneCreated += UpdateDiscoverObjectsOnCreate; |
|
|
|
EditorSceneManager.sceneOpened += UpdateDiscoverObjectsOnLoad; |
|
|
|
EditorSceneSetup.onSetupLoaded += UpdateDiscoverObjectsOnLoadSetup; |
|
|
|