少年修仙传客户端代码仓库
xingchen Qiu
2019-04-10 b45f84d1a84cb768d0b136fe37ad18364d74af1f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using UnityEngine;
using UnityEngine.Events;
using Snxxz.UI;
 
[XLua.LuaCallCSharp]
public class NewGuideModel : Model
{
    public string content;
    public bool showMask;
 
    /// <summary>
    /// 要高亮的控件
    /// </summary>
    public string componentPath;
 
    public Vector2 size;
    public bool clickClosed;
    public bool pressedClose = false;
    public UnityAction onClose;
 
    /// <summary>
    /// 说明文字及箭头的方向, 0123 上下左右
    /// </summary>
    public byte direction;
    public float arrowScale = 1f;
 
    public override void Init()
    {
    }
 
    public override void UnInit()
    {
        onClose = null;
    }
}