ドキュメント

Unity Engine

Unity Engine

viewDataKey

Used for view data persistence, such as tree expanded states, scroll position, or zoom level.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public string viewDataKey { get; set; }

Remarks

This key is used to save and load the view data from the view data store. If you don't set this key, the persistence is disabled for the associated VisualElement. For more information, refer to View data persistence in the Unity Manual.