//The coefficients used to check the location of the mouse void Start() { letter = GameObject.Find("backLetter3"); letter.SetActive(false); ball = FindObjectOfType <Ball>(); window = GameObject.Find("Button_dir"); window.SetActive(false); lockComponent = FindObjectsOfType <Lock>(); rests = FindObjectsOfType <Rest>(); sting = FindObjectOfType <Sting>(); dialog = FindObjectOfType <Dialog>(); dialog.gameObject.SetActive(true); index = FindObjectOfType <Index>(); setting.onClick.AddListener(Onclick_setting); restart.onClick.AddListener(Onclick_restart); resume.onClick.AddListener(Onclick_resume); save.onClick.AddListener(Onclick_save); quit.onClick.AddListener(Onclick_quit); dialog.setText("在这一关卡中\n蓝色的障碍物代表砖块\n第一次碰撞会击碎砖块"); Time.timeScale = 0; hasStarted = false; GameObject.DontDestroyOnLoad(index.gameObject); //ball.arrow = Instantiate(ball.arrowOriginal, new Vector3(ball.transform.position.x, ball.transform.position.y, 0), Quaternion.identity); }
public RESTConnection(Uri uri, String login, Sting password) { this.uri = uri; this.login = login; this.password = password; }