浏览代码

Merge pull request #56 from UnityTech/xwzhu

constraint UIWidgetsGalleryEditor and UIWidgetsTheatre to editor-only…
/main
GitHub 6 年前
当前提交
a6259a7f
共有 5 个文件被更改,包括 14 次插入11 次删除
  1. 6
      Samples/UIWidgetsTheatre/UIWidgetsTheatre.cs
  2. 8
      Samples/UIWidgetsGallery/Editor.meta
  3. 11
      Samples/UIWidgetsGallery/GalleryMainEditor.cs.meta
  4. 0
      /Samples/UIWidgetsGallery/Editor/GalleryMainEditor.cs

6
Samples/UIWidgetsTheatre/UIWidgetsTheatre.cs


using Unity.UIWidgets.material;
using Unity.UIWidgets.ui;
using Unity.UIWidgets.widgets;
#if UNITY_EDITOR
#endif
using UnityEngine;

}
#if UNITY_EDITOR
[CustomEditor(typeof(UIWidgetsTheatre), true)]
[CanEditMultipleObjects]
public class UIWidgetTheatreEditor : RawImageEditor {

EditorUtility.SetDirty(this.target);
}
}
#endif
}

8
Samples/UIWidgetsGallery/Editor.meta


fileFormatVersion: 2
guid: 348a394ab7d3f4ba088eb92226e94979
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

11
Samples/UIWidgetsGallery/GalleryMainEditor.cs.meta


fileFormatVersion: 2
guid: 1a499c991275944c983bdc42598f80b0
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

/Samples/UIWidgetsGallery/GalleryMainEditor.cs → /Samples/UIWidgetsGallery/Editor/GalleryMainEditor.cs

正在加载...
取消
保存