IHierarchyNodeTypeHandlerViewModelState
State that a HierarchyNodeTypeHandlerBase keeps for one HierarchyViewModel.
阅读时间1 分钟最后更新于 22 天前
Definition
- Type: Interface
- Namespace: Unity.Hierarchy
- Assembly: UnityEngine.HierarchyCoreModule
public interface IHierarchyNodeTypeHandlerViewModelState : IDisposable
Remarks
Handlers are shared by every view model on a hierarchy, so anything belonging to a single one is stored here instead. The view model disposes whatever is left when it is disposed; every other lifetime decision, including when to release individual fields and when to invalidate them, belongs to the handler.