private static void Attack1() { if (!doOnce) { doOnce = true; attack.Show(); } }
private void TapStartButton_Click(object sender, EventArgs e) { if (hider != null && hider.IsAllHidden) { hider.Show(true); } tapToStart.IsPaused = true; tapToStart.Alpha = 0f; hideTimer = 0; }
public override void AfterChangeEvent(Room previousRoom) { if (previousRoom == null || previousRoom.Name == "Room_Menu") { hider.Show(true); } }
private static void Block() { if (!doOnce) { doOnce = true; blocking = true; block.GetComponent <Renderer>().material.color = CustomColor.GetColor(FindObjectOfType <PlayerColorData>().Color); block.Show(); } }