public void Click() { Transform transform = canvas.transform; foreach (Transform child in transform) { child.gameObject.SetActive(false); } instructionTextObject.SetActive(true); resultTextObject.SetActive(true); player.GetComponent <Player1> ().top1 = false; player.GetComponent <Player1> ().top2 = false; player.GetComponent <Player1> ().right2 = false; Top1.SetActive(true); Top1.GetComponent <M1Top1> ().collide = false; Top2.SetActive(true); Top2.GetComponent <M1Top2> ().collide = false; Right2.SetActive(true); Right2.GetComponent <M1Right2> ().collide = false; instructionText.text = "Please use direction keys to orient the yellow" + "square on the top view and make it access the orange one.\n" + "Falling leads to game over."; resultText.text = ""; player.SetActive(true); player.transform.position = new Vector3(1.0f, 2.04f, 0.5f); isoCamera.SetActive(false); model.GetComponent <Model1> ().InitializeLog(); }
protected void Page_Load(object sender, EventArgs e) { base.userVo = Top1.GetUserVo(); if (Request["MODE"] != null) { mode = Request["MODE"].ToString(); if (Request["MODE"] == "I") { this.uiTitle = string.Format("{0} (입력)", uiTitle); } if (Request["MODE"] == "U") { this.uiTitle = string.Format("{0} (수정)", uiTitle); } } if (Request["NO"] != null) { int.TryParse(Request["NO"].ToString(), out no); } }
protected void Page_Load(object sender, EventArgs e) { base.userVo = Top1.GetUserVo(); }