Skip to content

Commit 5a0df89

Browse files
committed
0.0.14
1 parent 1e8cc64 commit 5a0df89

38 files changed

+558
-166
lines changed

BlueBackUnityPlayerLoop/Assets/Editor/UpmVersionManagerSetting.cs

Lines changed: 0 additions & 104 deletions
This file was deleted.
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
2+
3+
/**
4+
* Copyright (c) blueback
5+
* Released under the MIT License
6+
* @brief 設定。
7+
*/
8+
9+
10+
/** Editor
11+
*/
12+
#if(UNITY_EDITOR)
13+
namespace Editor
14+
{
15+
/** VersionManagerSetting
16+
*/
17+
[UnityEditor.InitializeOnLoad]
18+
public static class VersionManagerSetting
19+
{
20+
/** VersionManagerSetting
21+
*/
22+
static VersionManagerSetting()
23+
{
24+
//Object_RootUssUxml
25+
BlueBack.VersionManager.Editor.Object_RootUssUxml.Save(false);
26+
27+
//projectparam
28+
BlueBack.VersionManager.Editor.Object_Setting.s_projectparam = BlueBack.VersionManager.Editor.ProjectParam.Load();
29+
30+
//s_object_root_readme_md
31+
BlueBack.VersionManager.Editor.Object_Setting.s_object_root_readme_md = new BlueBack.VersionManager.Editor.Object_Setting.Creator_Type[]{
32+
33+
//概要。
34+
(in BlueBack.VersionManager.Editor.Object_Setting.Creator_Argument a_argument) => {
35+
System.Collections.Generic.List<string> t_list = new System.Collections.Generic.List<string>();
36+
t_list.Add("# " + BlueBack.VersionManager.Editor.Object_Setting.s_projectparam.namespace_author + "." + BlueBack.VersionManager.Editor.Object_Setting.s_projectparam.namespace_package);
37+
t_list.AddRange(BlueBack.VersionManager.Editor.Object_Setting.Create_RootReadMd_Overview(a_argument));
38+
return t_list.ToArray();
39+
},
40+
41+
//ライセンス。
42+
(in BlueBack.VersionManager.Editor.Object_Setting.Creator_Argument a_argument) => {
43+
return new string[]{
44+
"## ライセンス",
45+
"MIT License",
46+
"* " + BlueBack.VersionManager.Editor.Object_Setting.s_projectparam.git_url + "/blob/main/LICENSE",
47+
};
48+
},
49+
50+
//依存。
51+
(in BlueBack.VersionManager.Editor.Object_Setting.Creator_Argument a_argument) => {
52+
System.Collections.Generic.List<string> t_list = new System.Collections.Generic.List<string>();
53+
t_list.Add("## 依存 / 使用ライセンス等");
54+
t_list.AddRange(BlueBack.VersionManager.Editor.Object_Setting.Create_RootReadMd_Asmdef_Dependence(a_argument));
55+
return t_list.ToArray();
56+
},
57+
58+
//動作確認。
59+
(in BlueBack.VersionManager.Editor.Object_Setting.Creator_Argument a_argument) => {
60+
return new string[]{
61+
"## 動作確認",
62+
"Unity " + UnityEngine.Application.unityVersion,
63+
};
64+
},
65+
66+
//UPM。
67+
(in BlueBack.VersionManager.Editor.Object_Setting.Creator_Argument a_argument) => {
68+
return new string[]{
69+
"## UPM",
70+
"### 最新",
71+
"* " + BlueBack.VersionManager.Editor.Object_Setting.s_projectparam.git_url + ".git?path=" + BlueBack.VersionManager.Editor.Object_Setting.s_projectparam.git_path + "#" + a_argument.version,
72+
"### 開発",
73+
"* " + BlueBack.VersionManager.Editor.Object_Setting.s_projectparam.git_url + ".git?path=" + BlueBack.VersionManager.Editor.Object_Setting.s_projectparam.git_path,
74+
};
75+
},
76+
77+
//インストール。
78+
(in BlueBack.VersionManager.Editor.Object_Setting.Creator_Argument a_argument) => {
79+
return new string[]{
80+
"## Unityへの追加方法",
81+
"* Unity起動",
82+
"* メニュー選択:「Window->Package Manager」",
83+
"* ボタン選択:「左上の+ボタン」",
84+
"* リスト選択:「Add package from git URL...」",
85+
"* 上記UPMのURLを追加「 https://github.com/~~/UPM#バージョン 」",
86+
"### 注",
87+
"Gitクライアントがインストールされている必要がある。",
88+
"* https://docs.unity3d.com/ja/current/Manual/upm-git.html",
89+
"* https://git-scm.com/",
90+
};
91+
},
92+
93+
//例。
94+
(in BlueBack.VersionManager.Editor.Object_Setting.Creator_Argument a_argument) => {
95+
System.Collections.Generic.List<string> t_list = new System.Collections.Generic.List<string>();
96+
t_list.AddRange(BlueBack.VersionManager.Editor.Object_Setting.Create_RootReadMd_Exsample(a_argument));
97+
return t_list.ToArray();
98+
},
99+
};
100+
}
101+
}
102+
}
103+
#endif
104+

BlueBackUnityPlayerLoop/Assets/Editor/UpmVersionManagerSetting.cs.meta renamed to BlueBackUnityPlayerLoop/Assets/Editor/VersionManagerSetting.cs.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
Button
2+
{
3+
font-size: 20px;
4+
color: rgb(255,255,255);
5+
}
6+
7+
Label
8+
{
9+
font-size: 20px;
10+
color: rgb(255,255,255);
11+
}
12+
13+
.row
14+
{
15+
flex-direction: row
16+
}
17+
18+
.way3
19+
{
20+
width: 33%;
21+
}
22+
23+
.way2
24+
{
25+
width: 50%;
26+
}
27+
28+
.red
29+
{
30+
color: rgb(222,66,66);
31+
}

BlueBackUnityPlayerLoop/Assets/UpmVersionManagerWindow.uss.meta renamed to BlueBackUnityPlayerLoop/Assets/Editor/VersionManagerWindow.uss.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

BlueBackUnityPlayerLoop/Assets/UpmVersionManagerWindow.uxml renamed to BlueBackUnityPlayerLoop/Assets/Editor/VersionManagerWindow.uxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
xsi:schemaLocation="UnityEngine.UIElements ../UIElementsSchema/UnityEngine.UIElements.xsd">
77

88

9-
<Style src="UpmVersionManagerWindow.uss" />
9+
<Style src="VersionManagerWindow.uss" />
1010

1111
<!-- label_1 -->
1212
<Box>

BlueBackUnityPlayerLoop/Assets/UpmVersionManagerWindow.uxml.meta renamed to BlueBackUnityPlayerLoop/Assets/Editor/VersionManagerWindow.uxml.meta

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

BlueBackUnityPlayerLoop/Assets/Samples/UnityPlayerLoop.meta renamed to BlueBackUnityPlayerLoop/Assets/Samples/BlueBack.UnityPlayerLoop.meta

File renamed without changes.

BlueBackUnityPlayerLoop/Assets/Samples/UnityPlayerLoop/000.meta renamed to BlueBackUnityPlayerLoop/Assets/Samples/BlueBack.UnityPlayerLoop/000.meta

File renamed without changes.

BlueBackUnityPlayerLoop/Assets/Samples/UnityPlayerLoop/000/Exsample.meta renamed to BlueBackUnityPlayerLoop/Assets/Samples/BlueBack.UnityPlayerLoop/000/GetCurrentPlayerLoop.meta

File renamed without changes.

0 commit comments

Comments
 (0)