Beispiel #1
0
 public void AccelStart(FaData_Bed data)
 {
     AccelPanel.SetActive(true);
     accelSl          = AccelPanel.transform.GetChild(0).GetComponent <Slider>();
     accelSl.minValue = accelTimeSet[0];
     accelSl.maxValue = accelTimeSet[data.nowLevel];
     accelSl.value    = accelTimeSet[0];
     AccelPanel.transform.GetChild(2).GetComponent <TextMeshProUGUI>().text = "最小 " + accelTimeSet[0].ToString() + "分/秒";
     AccelPanel.transform.GetChild(3).GetComponent <TextMeshProUGUI>().text = "最大 " + accelTimeSet[data.nowLevel].ToString() + "分/秒";
     AccelTime = accelTimeSet[0];
     sleep     = true;
     mm.BackFadeOut();
 }