public Animator startButton;
public Animator settingsButton;
public Animator setplane;
public void StartGame()
{
Application.LoadLevel("RocketMouse");
}
public void OpenSettings()
{
startButton.SetBool("TureBool", true);
settingsButton.SetBool("TureBool", true);
setplane.enabled = true;
setplane.SetBool("TureBool", false);
}
public void CloseSettings()
{
startButton.SetBool("TureBool", false);
settingsButton.SetBool("TureBool", false);
setplane.SetBool("TureBool", true);
}
时间: 2024-10-10 06:19:55