public void Hide() { UserInterfaceAudio.OnHideDialog(); dialogLayout.gameObject.SetActive(false); //GameObject.Find("Player").GetComponent<Rigidbody2D>().constraints = RigidbodyConstraints2D.None | RigidbodyConstraints2D.FreezeRotation; //Debug.Log("hide"); }
public void Hide() { UserInterfaceAudio.OnHideDialog(); dialogLayout.gameObject.SetActive(false); }