public void Logo_Click() { Btn_exit.SetActive(true); Btn_start.SetActive(true); Btn_Logo.SetActive(false); }
// Update is called once per frame void Update() { if (tr_L.position.y < -1.85f) { Vector2 target_L = new Vector2(tr_L.position.x, tr_L.position.y + 1f); tr_L.position = Vector2.MoveTowards(tr_L.position, target_L, movespeed * Time.deltaTime); } else if (!b_btn_logo) { Btn_Logo.SetActive(true); b_btn_logo = true; } cb.normalColor = newColor; Btn.colors = cb; }