refactor: Update Unity to 2022.3.62
This commit is contained in:
@@ -34,8 +34,8 @@ namespace Cryville.Crtr.Browsing.UI {
|
||||
IResourceAction _importAction;
|
||||
readonly IResourceAction[] _importActionArray = new IResourceAction[1];
|
||||
|
||||
readonly HashSet<int> _selectedItems = new HashSet<int>();
|
||||
readonly Dictionary<int, BrowserItem> _items = new Dictionary<int, BrowserItem>();
|
||||
readonly HashSet<int> _selectedItems = new();
|
||||
readonly Dictionary<int, BrowserItem> _items = new();
|
||||
|
||||
bool _destroyed;
|
||||
protected virtual void Start() {
|
||||
@@ -52,10 +52,10 @@ namespace Cryville.Crtr.Browsing.UI {
|
||||
}
|
||||
|
||||
void OnEnable() {
|
||||
if (_manager != null) _manager.Activate();
|
||||
_manager?.Activate();
|
||||
}
|
||||
void OnDisable() {
|
||||
if (_manager != null) _manager.Deactivate();
|
||||
_manager?.Deactivate();
|
||||
}
|
||||
|
||||
public void Init(IPathedResourceManager<IResourceMeta> manager) {
|
||||
|
Reference in New Issue
Block a user