浏览代码

Prepare samples in the package.

/main
Vincent Zhang 4 年前
当前提交
b13350cc
共有 2 个文件被更改,包括 18 次插入0 次删除
  1. 4
      Samples/UIWidgetsSamples_2019_4/Assets/.sample.json
  2. 14
      add_sample.sh

4
Samples/UIWidgetsSamples_2019_4/Assets/.sample.json


{
"displayName":"UIWidgetSample",
"description": "Sample to demonstrate the usage of UI Widgets"
}

14
add_sample.sh


#!/usr/bin/env bash
#set -xeuo pipefail
#set -x
printf "Preparing samples:\n"
cd com.unity.uiwidgets
mkdir Samples
cd Samples
cp -r ../../Samples/UIWidgetsSamples_2019_4/Assets UIWidgetsSamples
echo "Finished the sample preparation."
正在加载...
取消
保存