Skip to content

Commit 0e75475

Browse files
committed
guideDemo
1 parent 9494650 commit 0e75475

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
GuideID StartPoint EndPoint Premise NextGuide CallToNext ClickToNext GuideWindowName GuideObjectName GuideItemName TipContent TipContentPos MaskAlpha
22
type Bool Bool String String Bool Bool String StringArray StringArray String Vector3 Float
33
note 引导开始点 引导结束点 前提条件 下一步引导,如果为空,则为下一条记录 是否接收调用去下一步引导 是否接收点击去下一步引导 引导的界面名字 高亮显示的对象名字 高亮的Item名字 提示文本内容 提示文本位置 遮罩Alpha
4-
default False False Null Null False False Null Null Null Null 0|0|0 0.75
5-
1 True False True MainWindow Button_Shop Click to Open Shop
6-
2 True ShopWindow Button_Close Click to Close shop
7-
3 True True MainWindow Button_Start Click to start Game
4+
default FALSE FALSE Null Null FALSE FALSE Null Null Null Null 0|0|0 0.75
5+
1 True True GuideWindow Click to continue
6+
2 FALSE TRUE MainWindow Button_Shop Click to Open Shop
7+
3 TRUE ShopWindow Button_Close Click to Close shop
8+
4 TRUE TRUE MainWindow Button_Start Click to start Game
4.3 KB
Binary file not shown.

Assets/Scene/main.unity

2.45 KB
Binary file not shown.

Assets/Script/UI/GuideWindow/GuideWindow.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@
44

55
public class GuideWindow : GuideWindowBase
66
{
7+
8+
public override void OnInit()
9+
{
10+
AddOnClickListener("mask", OnClickMask);
11+
}
12+
13+
void OnClickMask(InputUIOnClickEvent e)
14+
{
15+
16+
}
17+
718
public override void ShowTips(string content, Vector3 pos)
819
{
920
if(content != null && content != "")

0 commit comments

Comments
 (0)