浏览代码

Fixed Possible Nulls in Discover Asset reference

/main
Thomas ICHÉ 5 年前
当前提交
12f7f2fd
共有 2 个文件被更改,包括 8 次插入1 次删除
  1. 6
      CHANGELOG.md
  2. 3
      Editor/Discover/DiscoverWindow.cs

6
CHANGELOG.md


# Changelog
## 2019.3.6
#### Fixed
* Fixed Possible Nulls in Discover Asset reference
## 2019.3.5
#### Added

3
Editor/Discover/DiscoverWindow.cs


}
}
[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;

正在加载...
取消
保存