You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
702 B
C#
45 lines
702 B
C#
|
4 years ago
|
using System.Collections;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using UnityEngine;
|
||
|
|
using UnityEngine.UI;
|
||
|
|
using SiegeSong;
|
||
|
|
|
||
|
|
namespace SiegeSong
|
||
|
|
{
|
||
|
|
public class ReadMenuManager : MonoBehaviour
|
||
|
|
{
|
||
|
|
public Dictionary<int, GameObject> ExistingBooks;
|
||
|
|
public int SelectedBookID;
|
||
|
|
public int CurrentPageNumber;
|
||
|
|
|
||
|
|
void Start()
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
void Update()
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
public void Open()
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
public void Close()
|
||
|
|
{
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
public void NextPage()
|
||
|
|
{
|
||
|
|
CurrentPageNumber++;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void PreviousPage()
|
||
|
|
{
|
||
|
|
CurrentPageNumber--;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|