public void ButtonShareFacebook() { Modules.PlayAudioClipFree(Modules.audioButton); if (Modules.CheckReceivedFB()) { Modules.ClickShareFB(); } else { shareFBBox.GetComponent <MessageShareFB>().StartShowMessage(); shareFBBox.SetActive(true); shareFBBox.GetComponent <Animator>().SetTrigger("TriOpen"); } }