Version: 1.4
LanguageEnglish
  • C#

VisualElement.viewDataKey

public string viewDataKey;

Description

Used for view data persistence (ie. tree expanded states, scroll position, zoom level).

This is the key used to save/load the view data from the view data store. Not setting this key will disable persistence for this VisualElement. For further information on view data persistence, see the Unity Manual.


对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答