Browse Source

隐藏掉翻页

develop
曹衍涛 4 years ago
parent
commit
3ffe5ed3e8
  1. 8
      Assets/Scripts/DisasterList/PagesController.cs

8
Assets/Scripts/DisasterList/PagesController.cs

@ -17,10 +17,10 @@ public class PagesController : MonoBehaviour {
private void Awake()
{
Instance = this;
pre.onClick.AddListener(PrePage);//单机版注释
next.onClick.AddListener(NextPage);//单机版注释
//pre.gameObject.SetActive(false);//非单机版解开注释
//next.gameObject.SetActive(false);//非单机版解开注释
//pre.onClick.AddListener(PrePage);//单机版注释
//next.onClick.AddListener(NextPage);//单机版注释
pre.gameObject.SetActive(false);//非单机版解开注释
next.gameObject.SetActive(false);//非单机版解开注释
}
// Use this for initialization
void Start () {

Loading…
Cancel
Save