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