Esempio n. 1
0
        void OnPrepareUpdate()
        {
            var path = ContentUpdateScript.GetContentStateDataPath(true);

            if (!string.IsNullOrEmpty(path))
            {
                ContentUpdatePreviewWindow.PrepareForContentUpdate(AddressableAssetSettingsDefaultObject.Settings, path);
            }
        }
        void OnPrepareUpdate()
        {
            var path = ContentUpdateScript.GetContentStateDataPath(true);

            if (string.IsNullOrEmpty(path))
            {
                Debug.LogWarning("No path specified for Content State Data file.");
            }
            else if (!File.Exists(path))
            {
                Debug.LogWarningFormat("No Content State Data file exists at path: {0}");
            }
            else
            {
                ContentUpdatePreviewWindow.PrepareForContentUpdate(AddressableAssetSettingsDefaultObject.Settings, path);
            }
        }
Esempio n. 3
0
 public ContentUpdateTreeView(ContentUpdatePreviewWindow preview, TreeViewState state, MultiColumnHeaderState mchs) : base(state, new MultiColumnHeader(mchs))
 {
     m_Preview = preview;
 }